Go Back
Chat-Hub



Project overview
Chat-Hub is a real-time chat application built for speed, simplicity, and seamless collaboration. Whether you're chatting with friends, coordinating with a team, or experimenting with WebSocket functionality, Chat-Hub delivers a fast and responsive experience. Users can instantly create or join chat rooms without sign-up, share room codes, and experience smooth messaging โ all wrapped in a clean, modern UI with dark/light mode support. Built with React, TypeScript, and WebSocket, the app demonstrates how lightweight tools can create powerful, real-time communication platforms that scale effortlessly.
Project Challenges
- Ensuring real-time sync across all connected clients
- Managing dynamic user joins/leaves with accurate state
- Building ephemeral room logic for automatic cleanup
- Handling edge cases in WebSocket disconnection and reconnection
My learnings
- Mastered WebSocket integration for real-time communication
- Learned to manage state across dynamic chat rooms
- Implemented lightweight user presence tracking
Features
- ๐ ๏ธ *Create unlimited chat rooms* โ no sign-up required
- ๐ฌ Real-time messaging powered by WebSocket
- ๐ Shareable room codes for quick invites
- ๐ฅ User count visibility in each room
- ๐ฅ Display of join/leave messages in real-time
- ๐ฑ Fully responsive design for desktop and mobile
- ๐ Dark and Light Mode support
- ๐งผ *Ephemeral rooms* โ messages are cleared after all users leave