You can check how it works with the following site.
https://jo-pp-node-demo.herokuapp.com/
How to run
- Set the following environment variables (export PP_..=..).
- PP_API_APP_REST: Your REST app
client id
- PP_API_APP_REST_SEC: Your REST app
secret
- PP_PROD:
true
for Live,empty or unset
for Sandbox
- Run
npm install
&npm start