Implementation of the Single Page Web App described in TimeSeriesDataCapture
To build the Browse API on heroku simply click the Deploy To Heroku button above
To build single page web application locally on a specified port:
node server.js
Variable | Example | Description |
---|---|---|
DEBUG | * | Node debugging. Defines what components produce logging. Usually set to * |
PORT | 443 | Notionally, this variable is set to 443, but it simply exists as a placeholder for heroku. When running locally use 8000 |
AUTH0_CLIENTID | AUTH CLIENT ID | Held by the API service, and written to the SPWA configuration file on initialisation. Used by the SPWA in the browser, as interface identifier in the Auth0 implicit flow. Must be passed to Auth0 as a parameter.Client ID associated with the App name in the Auth0 account. |
AUTH0_DOMAIN | AUTH DOMAIN | Held by the API service, and written to the SPWA configuration file on initialisation. Used by the SPWA in the browser, as interface identifier in the Auth0 implicit flow. Must be passed to Auth0 as a parameter. |
BROWSEAPI_URI | BROWSE API URI | Held by the API service, and written to the SPWA configuration file on initialisation. The URI of the Browse API |
ONEDRIVE_AUTHSERVICEURI | ONEDRIVE AUTH SERVICE URI | Held by the API service, and written to the SPWA configuration file on initialisation. The URI of the OneDrive authentication service |
ONEDRIVE_CLIENTID | ONEDRIVE CLIENT ID | Held by the API service, and written to the SPWA configuration file on initialisation. OneDrive application client id |
ONEDRIVE_REDIRECTURI | ONEDRIVE REDIRECT URI | Held by the API service, and written to the SPWA configuration file on initialisation. OneDrive redirect when token is obtained |
ONEDRIVE_SCOPES | ONEDRIVE SCOPES | Held by the API service, and written to the SPWA configuration file on initialisation. Requesting OneDrive access scopes. Multiple scopes must be delimited by a single space. |
DEFAULT_COLUMN | DEFAULT COLUMN | Default Column to show when a graph is viewed |
Auth0
Auth Domain, Auth Client ID, can be located on your Auth0 dashboard Single Page Application.
For help see Auth0
OneDrive
OneDrive Auth Service Uri, OneDrive Client ID, OneDrive Redirect URI and OneDrive Scopes can be located your OneDrive application dashboard.
For help see OneDrive
This project was funded via the Marloes Peeters Research Group and mentored by DigitalLabs@MMU as a DigitalLabs Summer Project. It is the work of Yusof Bandar.