forge-basic-app
forge-basic-app copied to clipboard
Sample application showing the basic usage of Autodesk Forge.
forge-basic-app
Sample application showing the basic usage of Autodesk Forge.
Live demo: https://forge-basic-app.herokuapp.com
Development
Prerequisites
- Register a Forge application
- Node.js (we recommend the Long Term Support version)
- Terminal (for example, Windows Command Prompt or macOS Terminal)
Setup & Run
- Clone the repository
- Install dependencies:
npm install
- Setup environment variables:
-
FORGE_CLIENT_ID
- your Forge application client ID -
FORGE_CLIENT_SECRET
- your Forge application client secret -
FORGE_BUCKET
(optional) - name of Forge bucket to store your designs
-
- Run the server:
npm start
When using Visual Studio Code, you can specify the env. variables listed above in a .env file in this folder, and run & debug the application directly from the editor.