A simple real-time chat application built using Next.js, TypeScript, Tailwind CSS, and Socket.io. Users can instantly send and receive messages with no page refresh or database required — perfect for temporary or anonymous chats.
🔗 real-chat-app.up.railway.app
- Next.js
- TypeScript
- Tailwind CSS
- Socket.io
- Real-time messaging (no refresh required)
- Socket-based user connection/disconnection tracking
- Clean, responsive UI
- Stateless — messages disappear on refresh (no database)
git clone https://github.com/NamanS4ini/Chat-App.git
cd Chat-App
npm install
npm run devApp will run locally at
http://localhost:3000
- How WebSockets work under the hood using Socket.io
- Managing real-time data backend setup
- Building scalable real-time features in Next.js apps
- Handling multiple simultaneous connections efficiently
- Designing UI updates to reflect instant message delivery
- Managing transient state without persistent storage
- Add user authentication
- Persist messages using a database
- Display online users
- Show timestamps and typing indicators