Skip to content

ttrelle/near-realtime-node

Repository files navigation

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

About

A showcase for a near-realtime system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published