https://github.com/petrbroz/forge-gltf-server
Experimental server app generating glTF files from Autodesk Forge models.
https://github.com/petrbroz/forge-gltf-server
autodesk-forge gltf
Last synced: 4 months ago
JSON representation
Experimental server app generating glTF files from Autodesk Forge models.
- Host: GitHub
- URL: https://github.com/petrbroz/forge-gltf-server
- Owner: petrbroz
- Created: 2019-12-13T15:00:20.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-11T17:06:32.000Z (almost 3 years ago)
- Last Synced: 2025-05-16T00:19:18.768Z (5 months ago)
- Topics: autodesk-forge, gltf
- Language: JavaScript
- Homepage: https://forge-gltf-server.herokuapp.com
- Size: 311 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# forge-gltf-server
Experimental Node.js server app generating glTF files for Autodesk Forge models.
## Running locally
### Prerequisites
- [Register a Forge application](https://forge.autodesk.com/en/docs/oauth/v2/tutorials/create-app)
- [Node.js](https://nodejs.org) (we recommend the Long Term Support version)
- Terminal (for example, [Windows Command Prompt](https://en.wikipedia.org/wiki/Cmd.exe)
or [macOS Terminal](https://support.apple.com/guide/terminal/welcome/mac))### Setup & Run
- Clone the repository
- Install dependencies: `npm install` or `yarn install`
- Setup environment variables:
- `FORGE_CLIENT_ID` - your Forge application client ID
- `FORGE_CLIENT_SECRET` - your Forge application client secret
- `HOST_URL` - URL where this app is running (used to build the OAuth callback URL)
- `SERVER_SESSION_SECRET` - a secret phrase used to encrypt session cookies
- Run the server: `npm start`> When using [Visual Studio Code](https://code.visualstudio.com),
you can specify the env. variables listed above in a _.env_ file in this
folder, and run & debug the application directly from the editor.