Node.js & Aura.js demonstrating SSE (Server Side Events)
JavaScript Ruby Shell
Latest commit 871b025 Jul 7, 2013 @jdpaton add comma
Permalink
Failed to load latest commit information.
lib
web
.gitignore
README.md
package.json
server.js
stackato.yml

README.md

SSE Dash

This is a simple demo application built to demonstrate how to use Server Sent Events (SSE)

The backend server is implemented in Node.js and the frontend is mostly using aura.js to provide isolated (and reusable!) widgets to connect to the different SSE endpoints. The demo currently shows connected server peers, the latest article from the NPMjs.org RSS feed and the servers current date & time, all in realtime.

Install

Simply run:

npm install .

then:

npm start

and finally open http://127.0.0.1:3000.

Or deploy to Stackato

Simply stackato push -n!

Further reading on SSE:

https://developer.mozilla.org/en-US/docs/Server-sent_events/Using_server-sent_events http://www.html5rocks.com/en/tutorials/eventsource/basics/

Browser support: http://caniuse.com/eventsource

CSS framework by Gumby