1.0.0 • Published 7 years ago

clover-cloud-connector-example v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

Clover Cloud Connector Example

Deployment

Deploy immediately on Heroku

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.

Deploy

Clone and run locally

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 Application

  1. Create a Clover developer account if you do not already have one.
  2. 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.

Referenced Repositories

This example show usage of the Javascript Cloud Connector, and the example React Component to configure access to a device