Using Server-Sent Events in Node.js to Build a Realtime App

1 · · Nov. 18, 2019, midnight
Summary
The goal of this article is to present a complete solution for both the back-end and front-end to handle realtime information flowing from server to client. The server will be in charge of dispatching new updates to all connected clients and the web app will connect to the server, receive these updates and present them in a nice way. About Server-Sent Events When we think about realtime apps, probably one of the first choices would be WebSockets, but we have other choices. If our project doesn’t...