Build a Chat Application
Build a real-time chat application with multiple rooms.
Requirements
User can enter a display name to joinCreate and join chat roomsReal-time message sending and receivingShow who's currently online in each roomMessage timestampsAuto-scroll to newest messagesResponsive layout (works on mobile)Technical Notes
Use WebSockets, Server-Sent Events, or a real-time service (e.g., Supabase Realtime, Firebase). For a simpler approach, polling with short intervals is acceptable but note the trade-off.
Bonus Points
Typing indicators ("User is typing...")Message reactions (emoji)Direct messages between usersMessage history persistence