Sample application showing the basic usage of Autodesk Forge.
Live demo: https://forge-basic-app.herokuapp.com
- Register a Forge application
- Node.js (we recommend the Long Term Support version)
- Terminal (for example, Windows Command Prompt or macOS Terminal)
- Clone the repository
- Install dependencies:
npm install
- Setup environment variables:
FORGE_CLIENT_ID
- your Forge application client IDFORGE_CLIENT_SECRET
- your Forge application client secretFORGE_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.