Server Sent Events Demo
Slides can be found here.
Running this Project
The following instructions assume Mac OS / Linux system with Python installed (to provide a simple web server).
Get the Code using a Terminal Window
$ git clone https://github.com/simonprickett/server-sent-events-demo.git $ cd server-sent-events-demo
Start the Server in a Terminal Window
$ cd src/server $ npm install $ npm start
Start the Client in another Terminal Window
$ cd src/client $ python -m SimpleHTTPServer
Then point a browser at