/react-sse

Primary LanguageJavaScript

Server Sent Events Application

This project demonstrates how to use Server Sent Events to implement a real time flight timetable. The table shows a list of flight arrivals and updates their state by receiving notifications from the server.

Blog post and in-depth tutorial available here: Developing Real-Time Web Applications with Server-Sent Events

The project consists of two applications:

  • a React application (the client)
  • a Node.js application (the server)

Run the server by opening a command window and typing the following command in the server folder:

node server.js

Run the client by opening a command window and typing the following commands in the client folder:

npm install
npm start