We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Server-Sent Events (SSE) | NextJS & FastApi
Summary
Description
In this video tutorial I am going to talk about the Server-Sent Events (I will be calling it server-side-events). Initially I will explain about the scenarios where we should use the Server Side Events and how they differ from standards http request and web-sockets.
In the second part, I will code the backend using the FastApi and frontend using the NextJS. We will create a queue to store the messages that we want to broadcast to frontend and then we will broadcast one by one to the frontend after establishing the connection.
#ServerSideEvents #FastAPI #nextjs14
Translated At: 2025-06-05T06:25:38Z