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.
- Host: GitHub
- URL: https://github.com/petrbroz/forge-hello-world
- Owner: petrbroz
- Created: 2019-09-10T07:49:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T05:10:02.000Z (almost 3 years ago)
- Last Synced: 2025-02-23T09:51:20.759Z (8 months ago)
- Language: JavaScript
- Size: 3.33 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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": ""
}
}
]
}
```