Simple node.js app using streamdata.io
Step by step setup
Create an free account on streamdata.io https://portal.streamdata.io/#/register to get an App token.
Edit server.js and replace
[YOUR_STREAMDATAIO_APP_TOKEN]with your App token.
Make sure you have Node version 0.11.5 or later installed
Install node dependencies by running in a terminal:
- Launch node in a terminal:
You should see data and patches pushed in your application and displayed on your terminal.
you can use the provided demo example API which simulates updating stocks prices from a financial market: 'http://stockmarket.streamdata.io/v2/prices'
Feel free to test it with any REST/Json API of your choice.