Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.gitignore
LICENSE
README.md
package-lock.json
package.json
server.js

README.md

Simple node.js app using streamdata.io

Step by step setup

  1. Create an free account on streamdata.io https://portal.streamdata.io/#/register to get an App token.

  2. Edit server.js and replace [YOUR_STREAMDATAIO_APP_TOKEN] with your App token.

  3. Make sure you have Node version 0.11.5 or later installed

  4. Install node dependencies by running in a terminal:

npm install
  1. Launch node in a terminal:
node server.js

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.