Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 825 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 825 Bytes

Near-Realtime Showcase

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".

Near realtime visualization w/ Smoothie Charts

Usage

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