ChatBolt is a real-time chat room application built with React (client) and Node.js/Express/Socket.io (server). Users can join chat rooms, send messages, and see who else is online in the room.
- Real-time messaging with Socket.io
- Join chat rooms with a username and room code
- See a live list of users in each room
- System messages for user join/leave events
- Responsive and modern UI
- Frontend: React, react-scroll-to-bottom, socket.io-client
- Backend: Node.js, Express, Socket.io, CORS
- Node.js and npm installed
-
Clone the repository:
git clone https://github.com/Ariz253/ChatBolt.git cd ChatBolt -
Install server dependencies:
cd server npm install -
Install client dependencies:
cd ../client npm install
-
Start the server:
cd ../server npm startThe server will run on http://localhost:3001.
-
Start the client:
cd ../client npm startThe client will run on http://localhost:3000.
-
Open your browser and go to http://localhost:3000 to use the chat app.
- Enter a username and a numeric room code to join a chat room.
- Chat in real time with others in the same room.
- See the list of users currently in the room.
- Click "Logout" to leave the room.
ChatBolt/
client/ # React frontend
server/ # Node.js backend
.gitignore
README.md
chatlogo.png
This project is licensed under the ISC License.
Made with ❤️ by Ariz Ejaz Khan