Server-Sent Events (SSE) | NextJS & FastApi

Author: Describly
Published At: 2024-02-18T00:00:00
Length: 36:33

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

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos