/WebSocketChat-FastAPI

A FastAPI Backend Service that simulates the Websocket needs of a chat app.

Primary LanguagePython

Chat App WebSocket Implementation

A FastAPI Backend Service that simulates the Websocket needs of a chat app that involves:

  • Users being able to Exchange messages with one another
  • The concept of rooms or group chats

This uses an in memory List to keep track of Websocket connections. To check the version that uses redis PUB/SUB, check the redis_db_branch

Demo

FastApi.Websocket.Demo.mp4

View Demo On Youtube Instead

Watch the video