Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 2.08 KB

README.md

File metadata and controls

48 lines (34 loc) · 2.08 KB

Simple Viewer (Node.js)

platforms node.js npm license

Autodesk Platform Services application built by following and extending the Simple Viewer tutorial from https://tutorials.autodesk.io.

thumbnail

Development

Prerequisites

Important

Highly recommended to use the Autodesk Platform Services Extension for VS Code

Setup & Run

  • Clone this repository
  • Install dependencies: yarn install or npm install
  • Setup environment variables:
    • APS_CLIENT_ID - your APS application client ID
    • APS_CLIENT_SECRET - your APS application client secret
    • APS_BUCKET (optional) - name of APS bucket to store your designs in
  • Run the server: yarn install or 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.

Troubleshooting

Check out the APS Viewer API Reference. Please contact APS via https://forge.autodesk.com/en/support/get-help.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for more details.