Skip to content

TianTeng/forge-basic-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forge-basic-app

Sample application showing the basic usage of Autodesk Forge.

Screenshot

Getting Started

  • clone this repository
  • install dependencies: npm install or yarn install
  • setup environment variables
    • on macOS/linux:
      export FORGE_CLIENT_ID=<your client id>
      export FORGE_CLIENT_SECRET=<your client secret>
      
    • on Windows:
      set FORGE_CLIENT_ID=<your client id>
      set FORGE_CLIENT_SECRET=<your client secret>
      
  • run the server: node server.js

If you're using Visual Studio Code, you can setup a launch task with all env. variables preconfigured:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Local Server",
            "program": "${workspaceFolder}/server.js",
            "env": {
                "FORGE_CLIENT_ID": "<your client id>",
                "FORGE_CLIENT_SECRET": "<your client secret>"
            }
        }
    ]
}

Deploy

About

Sample application showing the basic usage of Autodesk Forge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.9%
  • HTML 13.2%
  • CSS 6.9%