This app consists of:
- barebones express.js web server
- react.js app
- postgres database
At startup the app will initialise the db table and setup a callback channel (webhook) with Pelion Device management. The app will then send a request to initiate subscriptions to device resources.
When the resource value on a device changes, the notification channel is updated with this information and the web app stores each notification in the postgres database.
The included react app requests all data from the server and visualises this using the Recharts library.