Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

besedinalex/guides-fusion360-server

Repository files navigation

Beginner's guides to Fusion 360

Build

Web server to keep guides and their files and make possible to create new and edit existing ones.

Features

All features below can be tested with Postman by using premade collection and enviroment.

  • GET, POST, PUT, DELETE requests via .NET Core.
  • SQLite database via Entity Framework.
  • JWT authentication.
  • File storage in ~/Fusion360GuideStorage.
  • External 3D-model converter via HTTPClient.
  • Responses are based on user access.
  • All this features are used by React app.

Setup

Install .NET Core from official site.

Make sure that your CLI now handles dotnet command.

Run dotnet restore to install dependencies.

Debug

Run dotnet run or dotnet watch run.

Deploy

Proper way to deploy can be found in official Microsoft documentation or another their documentation.

Easy way:

  1. Install Python 3 from official site.
  2. Make sure your CLI now handles python3 or python command.
  3. Client project folder should be named /guides-fusion360-client and placed in the same folder where guides-fusion360-server is. Read it's README.md to see if you need anything else installed and working on your machine.
  4. Run python3 publish.py or python publish.py.

Additional options:

  • --rebuild-client=VALUE flag specifies whether you need to rebuild React app for /wwwroot or not. Supported values are true (default) or false.
  • --os=VALUE flag specifies if you need to build for computer without dotnet runtime. Supported values are linux or win10.