DogTracker UI Application
To run the client UI application , perform the following steps
You will need PubNub, MapBox and IBM Object Storage API credentials for running the UI app.
To get PubNub Keys , login to your pubnub account and click create a new app and get the keyset for this application.
To get Mapbox Access Token , login to your mapbox account and select myaccess tokens link and click "create new token".
To get ObjectStorage API URL & X-Auth-Token ,follow this procedure in main README section under the heading "Working with object storage api"
Follow step 1 in that heading for getting API URL and X-Auth-Token
Steps to launch the App
STEP 1 :
Download/fork the source code of this repository and update the keys at the application server side and client side
STEP 2 :
To RUN the server
1.This application require nodejs. To download and install nodejs on the hosting server, follow this link.
2.Open the AppUI directory in terminal, install all the node package dependencies and run the node application as
3.Open the following link in your browser (assuming that you are running the Node.js on a local server)
Alternatively you can host the application on a cloud server and access it via its IP Address.
Clearing the application state
If you want to clear the previously uploaded dog images then send the following URL
- The image size should not exceed 2 MB.
- Error messages for image upload, XHR and invalid dog breed are alerted as "Unknown Dog Breed"
- The auth token for object storage is valid for one day.