Skip to content

ParsaSeyedpour/realtime-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 Realtime Chat App (FastAPI + WebSockets + Redis)

This is a real-time, multi-user chat application built using FastAPI, WebSockets, and Redis Pub/Sub, fully containerized with Docker and deployable via Render.

🧠 Features

  • ✅ Realtime WebSocket chat per room
  • 🔐 JWT Authentication
  • 🚦 Redis-based pub/sub for multi-instance broadcasting
  • ⚠️ Rate limiting with Redis sorted sets
  • 🌐 Dockerized setup for local & cloud deployment
  • 🌈 Simple HTML+JS frontend to test the chat

🚀 Live Demo

Test it here 👉 https://realtime-chat-kjm8.onrender.com

Replace with your actual Render URL after deployment.


🔐 Get Started

⏳ Login to Get a Token

Use this endpoint to get a token (via Postman or cURL):

POST /login
Content-Type: application/x-www-form-urlencoded

[email protected]
password=123456

Releases

No releases published

Packages

No packages published