https://github.com/autodesk-forge/forge-viewhubs-nodejs-aws
https://github.com/autodesk-forge/forge-viewhubs-nodejs-aws
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/autodesk-forge/forge-viewhubs-nodejs-aws
- Owner: Autodesk-Forge
- License: mit
- Created: 2019-04-12T15:27:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T17:30:12.000Z (over 3 years ago)
- Last Synced: 2025-01-15T07:57:00.178Z (over 1 year ago)
- Language: JavaScript
- Size: 8.47 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forge-viewhubs-nodejs-aws
[](https://nodejs.org/)
[](https://www.npmjs.com/)

[](http://opensource.org/licenses/MIT)
[](http://developer.autodesk.com/)
[](http://developer.autodesk.com/)
[](http://developer.autodesk.com/)

# Description
AWS Cloudformation Project for BIM 360 Integrations.

# Setup
For using this sample, you need an Autodesk developer credentials. Visit the [Forge Developer Portal](https://developer.autodesk.com), sign up for an account, then [create an app](https://developer.autodesk.com/myapps/create). For this new app, use **http://localhost:3000/api/forge/callback/oauth** as Callback URL, although is not used on 2-legged flow. Finally take note of the **Client ID** and **Client Secret**.
### Run locally
Install [NodeJS](https://nodejs.org).
Clone this project or download it. It's recommended to install [GitHub desktop](https://desktop.github.com/). To clone it via command line, use the following (**Terminal** on MacOSX/Linux, **Git Shell** on Windows):
git clone https://github.com/autodesk-forge/forge-viewhubs-nodejs-aws.git
To run it, install the required packages, set the enviroment variables with your client ID & secret and finally start it. Via command line, navigate to the folder where this repository was cloned and use the following:
Mac OSX/Linux (Terminal)
npm install
export FORGE_CLIENT_ID=<>
export FORGE_CLIENT_SECRET=<>
export FORGE_CALLBACK_URL=<>
npm start
Windows (use **Node.js command line** from Start menu)
npm install
set FORGE_CLIENT_ID=<>
set FORGE_CLIENT_SECRET=<>
set FORGE_CALLBACK_URL=<>
npm start
Open the browser: [http://localhost:3000](http://localhost:3000).
## Packages used
The [Autodesk Forge](https://www.npmjs.com/package/forge-apis) packages is included by default.
Some other non-Autodesk packaged are used:
[express](https://www.npmjs.com/package/express) for the server
[multer](https://www.npmjs.com/package/multer) for upload
[aws-sdk](https://www.npmjs.com/package/aws-sdk) for AWS services
[aws-param-store](https://www.npmjs.com/package/aws-param-store) for access to AWS SSM Parameter Store.
# License
This sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Please see the [LICENSE](LICENSE) file for full details.
## Written by
[Forge Partner Development](http://forge.autodesk.com)