Send data to the clients in real time with SSE technology
Server Sent Events are a good option instead WebSockets when you just need one-way data flow (server to client) They are based in Http protocol and are much simplier than WebSockets Protocol.
- Don't forget to run
npm install
before launch this project. - Launch the server typing
npm run start
- Open your browser and call
localhost:8080
to see the magic!