README
A modern real-time chat application built using FastAPI, WebSockets, and Vanilla JavaScript.
This project demonstrates asynchronous backend communication, real-time message broadcasting, and WebSocket-based client-server interaction.
Features
- Real-time messaging using WebSockets
- Multiple client support
- Instant message broadcasting
- Asynchronous FastAPI backend
- Clean and responsive UI
- Persistent WebSocket connection
- Beginner-friendly project structure
- Ready for Docker & Deployment
Project Structure
realtime-chat-fastapi/
│
├── app/
│ ├── main.py
│ │
│ ├── websocket/
│ │ ├── connection_manager.py
│ │ └── chat.py
│ │
│ ├── templates/
│ │ └── index.html
│ │
│ └── static/
│ ├── style.css
│ └── script.js
│
├── requirements.txt
├── README.md
└── .gitignore
