This repo is to be used alongside the Developer Demo Tutorial.
This repo contains two branches: starter, and master.
- The starter code you need to follow along with the tutorial is on the
starterbranch. Checkout this branch if you want to work through the tutorial step-by-step. - The completed code for the tutorial is on the
masterbranch. Checkout this branch if you want to view the full, finished code for the tutorial (including some extra error handling not covered in the tutorial itself).
- Clone this repository.
cdinto this repository's root directory.- Create a
.envfile with the following contents:
CLIENT_ID="YOUR_CLIENT_ID_GOES_HERE"
CLIENT_SECRET="YOUR_CLIENT_SECRET_GOES_HERE"
ACCESS_TOKEN="YOUR_ACCESS_TOKEN_GOES_HERE"
SUB="YOUR_SUB_GOES_HERE"
DATA_CENTER="YOUR_DATA_CENTER_ID_GOES_HERE"
- Run
npm install: this will download the required dependencies. - Run
npm run startto start the server. - You can then view the running application at http://localhost:7070/.