Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/autodesk-forge/forge-viewhubs-nodejs-aws
https://github.com/autodesk-forge/forge-viewhubs-nodejs-aws
Last synced: about 1 month 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T17:30:12.000Z (about 2 years ago)
- Last Synced: 2024-11-15T02:18:38.175Z (3 months 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 startWindows (use **Node.js command line** from Start menu)
npm install
set FORGE_CLIENT_ID=<>
set FORGE_CLIENT_SECRET=<>
set FORGE_CALLBACK_URL=<>
npm startOpen 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.
# LicenseThis 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)