- npm 6.4.1
- axios 0.18.0
- express 4.16.4
- nodemon 1.18.4
- Sandbox Clover developer account
Follow these instructions for creating a Clover web app and installing it to your sandbox test merchant. When creating the app, select the permissions you want the OAuth token to have.
- On the app's Settings page, note App ID and App Secret. Set them as
appID
andappSECRET
at the top of index.js. - Under Web Configuration, set Site URL and CORS Domain to
http://localhost:5000
.
Run:
npm install
npm run server
In your web browser, visit http://localhost:5000/.