A simple real-time chat application built with React and Node.js using WebSockets (Socket.IO). Users can join a room with a temporary username and exchange live messages instantly.
- Join a chat room with a temporary username
- Send and receive messages in real-time
- Shared chat rooms between multiple users
- Minimal and clean UI
- Powered by Socket.IO and Vite
Frontend: React, Vite, Socket.IO Client
Backend: Node.js, Express, Socket.IO, CORS
git clone https://github.com/yourusername/live-chat-app.git
cd live-chat-app
For the backend
cd server
npm install
For the frontend
cd ../client
npm install
Start the backend
cd ../server
node index.js
Start the frontend
Open a new terminal
cd client
npm run dev
Then open your browser at specified url
Open it in multiple tabs to simulate multiple users chatting in the same room.