magsonleone / aps-hubs-browser-nodejs

Hubs Browser (Node.js):Autodesk Platform Services application built by following the Hubs Browser tutorial from https://aps.autodesk.com/tutorials.

Home Page:https://aps-hubs-browser-nodejs.autodesk.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hubs Browser (Node.js)

platforms node.js npm license

Autodesk Platform Services application built by following the Hubs Browser tutorial from https://tutorials.autodesk.io.

thumbnail

Development

Prerequisites

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_CALLBACK_URL - URL for your users to be redirected to after they successfully log in with their Autodesk account
      • For local development, the callback URL is http://localhost:8080/api/auth/callback
      • For applications deployed to a custom domain, the callback URL is http://<your-domain>/api/auth/callback or https://<your-domain>/api/auth/callback
      • Do not forget to update the callback URL for your application in https://forge.autodesk.com/myapps as well
    • SERVER_SESSION_SECRET - arbitrary phrase used to encrypt/decrypt server session cookies
  • Run the server: yarn start 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

Please contact us 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.

About

Hubs Browser (Node.js):Autodesk Platform Services application built by following the Hubs Browser tutorial from https://aps.autodesk.com/tutorials.

https://aps-hubs-browser-nodejs.autodesk.io

License:MIT License


Languages

Language:JavaScript 78.4%Language:CSS 12.4%Language:HTML 9.3%