To run the examples in your development environment:
- Clone this repo
- Run
npm install
andnpm run build
- Start the development server with
node server.js
. - Point your browser to http://localhost:8080/
To run the examples in your development environment:
- Clone this repo
- Run
npm install
andnpm run build
- Run the example you want (basic, download, team, team-as-user, or upload)
e.g.
node basic
- Clone this repo
- Run
npm install
andnpm run build
in the root of the repository - Create an app in the App console.
- Set a redirect URI "http://localhost:3000/auth" on the app's page on the App console.
- Set app key and secret in
examples/javascript/simple-backend/code_flow_example.js
on lines 17 and 18. - Run
node examples/javascript/simple-backend/code_flow_example.js
- Point your browser to http://localhost:3000/