Skip to content

mastbaum/tiny-angularjs-sse-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A Tiny AngularJS + SSE Example

Sending Server-Sent Events events into an AngularJS application in 20 lines of node.js server, 15 lines of client JS, and 5 lines of HTML.

This is heavily based on, but pared down to the essence of, the examples at:

Credit especially to @btford for the factory pattern that makes it all work.

Running

Start the node.js server:

$ node server.js

Go to http://localhost:8080 in your browser.

About

A tiny AngularJS + SSE example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published