Skip to content

A demo chat repo with streaming response implemeted via Server-Sent Events

Notifications You must be signed in to change notification settings

9akashnp8/learn-server-sent-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server-Sent Events: Stream "events" from server to client

About

This is a demo repo that uses Server-Sent Events, the specific use case being a Chat Application with Streaming Response from server. The repo contains implementations for Vannila js and React.

Built with

Demo

Chat with Streaming Response

Get it running

  1. Clone the repo: git clone https://github.com/9akashnp8/learn-server-sent-events.git

  2. Run docker compose up to get all the services up and running. The react client can be access via localhost:5173 and vanilla-js-client via localhost:5174