In order to deploy this to Heroku, you will need to have an account on Heroku. You can sign up for a free account to test this if you do not have one.
You can clone the repository and run it locally. Once you have cloned it, just run
npm install
Then
npm start
This will start a local server that can be reached at http://localhost:3000. To test with this local copy, you must use a different client id. This can be done by appending the client id to the URL - for example:
http://localhost:3000?clientId=5VB5EJFS79PRJ
You must create a web application on the appropriate Clover server and use that client id.
- Create a Clover developer account if you do not already have one.
- After claiming your account, create a web app on your developer dashboard. Make sure to expand the "Web App" 'App Type' section and enter the Site URL and CORS domain of your app.
This example show usage of the Javascript Cloud Connector, and the example React Component to configure access to a device