Skip to content

jdpaton/sse-dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node.js & Aura.js demonstrating SSE (Server Side Events)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published