Socket
Socket
Sign inDemoInstall

oss-print-sample

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oss-print-sample

A sample app that demonstrates the usage of Forge oss and print apis


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Forge SDK (OSS and Print) Sample

Introduction

This app demonstrates Forge cloud based 3D model storage, mesh preparation and mesh repair and can also provide an example of the Forge OAuth 2.0 2-legged and 3-legged login procedure.

Required setup before running the sample code

  1. Clone the software repository locally.
  2. If you have not already done so, create an app on the staging environment of the Autodesk Developers Portal.
  3. In the app screen, for the Callback URL field enter the fully qualified URL of a callback endpoint for the 3-legged flow. If you run this app on your localhost, it will be http://local.host:3000/callback.
  4. Install nodejs and npm if not already installed. Minimum node version is v4.0.0
  5. Open your hosts file and add this line (/etc/hosts/ for nix users, c:\Windows\System32\Drivers\etc\hosts for windows users)
127.0.0.1       local.host
  1. Copy the client id and client secret and setup your app with them - see info in the "Quick Start" section.

Quick Start

  • Open the server.js file and set your CLIENT_ID and CLIENT_SECRET that was provided to you when you created the app.
  • Run:
$ npm install
$ node server.js

FAQs

Package last updated on 10 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc