Chat Room is a real-time chat application built using the MERN stack (MongoDB, Express, React, Node.js). It allows users to join chat rooms and exchange messages in real-time.
- User authentication: Register, log in, and log out functionality.
- Real-time messaging: Exchange messages in real-time with other participants in the same chat room.
- Create and join chat rooms: Users can create new chat rooms or join existing ones.
- Responsive user interface: A seamless and interactive UI built with React.
- MongoDB: Database for storing chat room information and messages.
- Express: Backend framework for handling HTTP requests and real-time communication using Socket.IO.
- React: Frontend library for building the user interface.
- Node.js: JavaScript runtime environment for running the server-side application.
- Socket.IO: JavaScript library for enabling real-time, bidirectional communication between clients and the server.
-
Clone the repository:
git clone https://github.com/your-username/chatroom-mern.git
-
Change to the project's root directory:
cd chatroom-mern
-
Run the application:
npm run dev
This command will start both the server and client concurrently.
- Access the chat application in your web browser:
Open http://localhost:3000 to view it in the browser.
Contributions are welcome! If you find any bugs or have suggestions for new features, please open an issue or submit a pull request.