https://github.com/petrbroz/forge-simple-viewer-nodejs
Autodesk Forge sample app showing the basic viewing capabilities.
https://github.com/petrbroz/forge-simple-viewer-nodejs
Last synced: 6 months ago
JSON representation
Autodesk Forge sample app showing the basic viewing capabilities.
- Host: GitHub
- URL: https://github.com/petrbroz/forge-simple-viewer-nodejs
- Owner: petrbroz
- License: mit
- Created: 2021-08-18T10:53:22.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2022-10-31T15:49:42.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T23:26:16.852Z (7 months ago)
- Language: JavaScript
- Size: 8.06 MB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forge-simple-viewer-nodejs

[](https://nodejs.org)
[](https://www.npmjs.com/)
[](https://opensource.org/licenses/MIT)Simple [Autodesk Forge](https://forge.autodesk.com) application built by following
the [Simple Viewer](https://forge-tutorials.autodesk.io/tutorials/simple-viewer/) tutorial
from https://forge-tutorials.autodesk.io.
## Development
### Prerequisites
- [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 this repository
- Install dependencies: `yarn install` or `npm install`
- Setup environment variables:
- `FORGE_CLIENT_ID` - your Forge application client ID
- `FORGE_CLIENT_SECRET` - your Forge application client secret
- `FORGE_BUCKET` (optional) - name of Forge bucket to store your designs in
- 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.## 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](http://opensource.org/licenses/MIT).
Please see the [LICENSE](LICENSE) file for more details.