Server-Sent Events: the alternative to WebSockets you should be using
When developing real-time web applications, WebSockets might be the first thing that come to your mind. However, Server Sent Events (SSE) are a simpler alternative that is often superior. Recently I have been curious about the best way to implement a real-time web application.
https://germano.dev/sse-websockets/