A real-time chat application made using MERN stack and socket.io
- asyncHandler - Simple middleware for handling exceptions inside of async express routes and passing them to your express error handlers.
This project is a real-time chat application developed using the MERN (MongoDB, Express, React, Node.js) stack. It leverages the power of WebSocket technology through Socket.io to provide instant messaging functionality.
- User authentication
- Group chat support
- Real-time messaging using Socket.io
- MongoDB for data storage
- RESTful API for user and group management
- Frontend built with React
- Styling with CSS and/or a UI framework like Bootstrap or Material-UI
Before you begin, ensure you have met the following requirements:
-
Node.js and npm installed
-
MongoDB server running
-
Create a
.env
file in the server directory with your MongoDB URI and JWT secret:MONGO_URI=<your_mongodb_uri> JWT_SECRET=<your_jwt_secret>