Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yiskang/forge-viewer-side-by-side-nodejs
This sample demonstrate how to sync camera between two viewer instances.
https://github.com/yiskang/forge-viewer-side-by-side-nodejs
Last synced: 21 days ago
JSON representation
This sample demonstrate how to sync camera between two viewer instances.
- Host: GitHub
- URL: https://github.com/yiskang/forge-viewer-side-by-side-nodejs
- Owner: yiskang
- License: mit
- Created: 2022-09-23T07:02:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-23T07:02:45.000Z (over 2 years ago)
- Last Synced: 2024-10-31T02:52:16.381Z (2 months ago)
- Language: JavaScript
- Size: 1.13 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forge-viewer-side-by-side-nodejs
![platforms](https://img.shields.io/badge/platform-windows%20%7C%20osx%20%7C%20linux-lightgray.svg)
[![node.js](https://img.shields.io/badge/Node.js-16.16-blue.svg)](https://nodejs.org)
[![npm](https://img.shields.io/badge/npm-8.11-blue.svg)](https://www.npmjs.com/)
[![license](https://img.shields.io/:license-mit-green.svg)](https://opensource.org/licenses/MIT)This sample demonstrate how to sync camera between two viewer instances.
![screenshot](screenshot.png)
## 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.## Written by
Eason Kang [@yiskang](https://twitter.com/yiskang), [Forge Partner Development](http://forge.autodesk.com)