Minimal template for Autodesk Forge applications built with Svelte on the client side and Express.js on the server side.
yarn install
FORGE_CLIENT_ID
- client ID of your Forge applicationFORGE_CLIENT_SECRET
- client secret of your Forge applicationFORGE_BUCKET
- an existing Forge bucket with models to previewyarn run dev
(if you want to auto-rebuild client side code on changes)
or simply yarn run serve
Tip: if you are using Visual Studio Code, store the environment variables in a .env file in the project folder, use the launch configuration in defined in ./.vscode/launch.json.