Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/petrbroz/forge-basic-app

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

autodesk autodesk-forge express nodejs

Last synced: 3 months ago
JSON representation

Sample application showing the basic usage of Autodesk Forge.

Awesome Lists containing this project

README

        

# forge-basic-app

Sample application showing the basic usage of [Autodesk Forge](https://forge.autodesk.com).

![Screenshot](./screenshot.png)

Live demo: https://forge-basic-app.herokuapp.com

## Development

### 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`
- 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
- 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.