A showcase for a very simple near-realtime system including visualization and a NoSQL datastore. For a detailed explanation, please have a look at my blog post "Near-Realtime Analytics w/ MongoDB, Node.js & SmoothieCharts".
Set up the node.js project:
sudo npm install
Set up a MongoDB replica set with one node running on the default port 27017.
To start the node server, run
node main.js
After that, open a web browser at this URL:
http://localhost:8080/
You won't see any graphs unless you insert some data into MongoDB. To do this, open another shell and type:
cd mongo
mongo 02_stream_data.js