ChatIt — Real-Time Chat App
Build a full-stack real-time chat application with WebSocket-powered messaging, JWT authentication, typing indicators, read receipts, and a premium dark-mode UI. This project covers the complete spectrum of modern web development — from a Django Channels ASGI backend to a Next.js 16 App Router frontend with Zustand state management and SWR data fetching.
📚Scroll down to see free videos & courses ↓What You Will Build
A production-grade real-time chat application where users can register, search for other users, open direct message conversations, and exchange messages instantly via WebSockets — complete with typing indicators, read receipts (single/double ticks), online presence, cursor-based infinite scroll for message history, and a sleek animated dark-mode interface.
Concepts You'll Learn
- WebSocket protocol and real-time bidirectional communication
- Django Channels and ASGI server setup with Daphne
- JWT-based authentication with httpOnly cookies
- Custom DRF authentication backends (cookie-based)
- Next.js 16 App Router with client and server components
- Global state management with Zustand
- Data fetching and caching with SWR
- Axios interceptors for auto JWT token refresh
- Optimistic UI updates for instant message feedback
- Cursor-based infinite scroll pagination
- Debounced search with live suggestions
- Read receipts and typing indicators over WebSocket
- Online presence tracking on connect/disconnect
- CORS configuration for full-stack local development
- Environment-based config with python-decouple and .env.local
Tech Stack
References
Tailwind cheat sheet
Online tool / resource
Django Channels — Official Docs
Official documentation
Next.js App Router — Official Docs
Official documentation
Django REST Framework
Official documentation
Zustand — State Management
Official documentation
SWR — Data Fetching for React
Official documentation
djangorestframework-simplejwt
Official documentation
JWT Authentication Deep Dive
In-depth reading
Daphne ASGI Server
Official documentation
Study Resources
Learn before you build 🚀
Free YouTube Videos
No account · No cost · Start now
Recommended Courses
Udemy · Coursera · Structured & Certified
The Complete Full-Stack Web Development Bootcamp
🎓 UdemyThe Complete JavaScript Course 2026: From Zero to Expert!
🎓 UdemyThe Ultimate React Course: React, Next.js, Redux & More
🎓 UdemyPython Django - The Practical Guide
🎓 UdemyUnderstanding TypeScript
🎓 Udemy