https://github.com/petrbroz/aps-simple-viewer-nodejs
https://github.com/petrbroz/aps-simple-viewer-nodejs
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/petrbroz/aps-simple-viewer-nodejs
- Owner: petrbroz
- License: mit
- Created: 2022-11-21T09:30:55.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-11-22T13:44:30.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T20:41:27.019Z (8 months ago)
- Language: JavaScript
- Size: 5.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aps-simple-viewer-nodejs

[](https://nodejs.org)
[](https://www.npmjs.com/)
[](https://opensource.org/licenses/MIT)[Autodesk Platform Services](https://aps.autodesk.com) application built by following
the [Simple Viewer](https://tutorials.autodesk.io/tutorials/simple-viewer/) tutorial
from https://tutorials.autodesk.io.
## Development
### Prerequisites
- [APS credentials](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:
- `APS_CLIENT_ID` - your APS application client ID
- `APS_CLIENT_SECRET` - your APS application client secret
- `APS_BUCKET` (optional) - name of APS bucket to store your designs in
- Run the server: `yarn install` or `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.