An open API service indexing awesome lists of open source software.

https://github.com/petrbroz/forge-hello-world

Sample application showing the basic usage of Autodesk Forge.
https://github.com/petrbroz/forge-hello-world

Last synced: 6 months ago
JSON representation

Sample application showing the basic usage of Autodesk Forge.

Awesome Lists containing this project

README

          

# forge-hello-world

Sample application showing the basic usage of Autodesk Forge.

## Getting Started

- clone this repository
- install dependencies: `npm install`
- setup environment variables
- on macOS/linux:
```
export FORGE_CLIENT_ID=
export FORGE_CLIENT_SECRET=
export FORGE_BUCKET=
```
- on Windows:
```
set FORGE_CLIENT_ID=
set FORGE_CLIENT_SECRET=
set FORGE_BUCKET=
```
- run the server: `node server.js`

If you're using [Visual Studio Code](https://code.visualstudio.com),
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": "",
"FORGE_CLIENT_SECRET": "",
"FORGE_BUCKET": ""
}
}
]
}
```