This project consists of a backend API and a frontend application for a real-time chat system.
The backend API is built using Node.js and Express, with Socket.IO for real-time communication. It handles user connections, message broadcasting, and user join/leave notifications.
- Real-time Messaging: Utilizes Socket.IO for bidirectional communication between clients and the server.
- User Authentication: Basic authentication with username or guest login.
- Message Broadcasting: Broadcasts messages to all connected clients.
- User Join/Leave Notifications: Notifies all users when a new user joins or leaves the chat.
- Node.js
- Express.js
- Socket.IO
- CORS
- dotenv for environment variables
The frontend application is built with React.js and integrates with the backend API to provide a user-friendly chat interface.
- Real-time Message Updates: Displays messages in real-time using Socket.IO events.
- Message Input: Allows users to send messages and see them instantly.
- User Interface: Clean and responsive design with message timestamps and user identification.
- React.js
- Socket.IO Client
- React Router for navigation
- Tailwind CSS for styling
Watch a quick demonstration of the chat application in action:
Youtube Video Link: https://youtu.be/ngkqPNoqZo0
Contributions are welcome! Please fork the repository and create a pull request with your improvements.
This project is licensed under the MIT License - see the LICENSE file for details.