Skip to content

Server Sent Events Demo for San Diego JS Meetup using Node, HTML, JavaScript, CSS.

License

Notifications You must be signed in to change notification settings

ronup6470/server-sent-events-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Sent Events Demo

A small Server Sent Events demo for San Diego JS Meetup using Node, HTML, JavaScript, CSS. I also wrote a post on Medium about this topic.

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 http://localhost:8000/.

Reference Materials

About

Server Sent Events Demo for San Diego JS Meetup using Node, HTML, JavaScript, CSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.6%
  • CSS 14.8%
  • HTML 10.6%