A real-time chat application built using the MERN stack (MongoDB, Express.js, React.js, Node.js) and powered by Socket.IO for seamless, instant communication.
- Real-time messaging: Experience instantaneous message delivery with Socket.IO.
- User authentication: Secure your application with user authentication using JWT tokens.
- MERN stack: Utilize the power of MongoDB, Express.js, React.js, and Node.js to build a robust full-stack application.
- Responsive design: Enjoy a seamless chat experience on any device with our responsive user interface.
Login Page
Chat Room
Follow these steps to get the chat application up and running on your local machine.
- Node.js and npm installed
- MongoDB installed and running
- Clone the repository:
git clone https://github.com/your-username/chat-app.git cd chat-app
- Install dependencies for both server and client:
cd server
npm install
cd ../client
npm install
- Configure the environment variables:
MONGODB_URI=your-mongodb-uri
JWT_SECRET=your-jwt-secret
- Run the application:
# In the server directory
npm start
# In the client directory
npm start
Visit http://localhost:3000 in your browser to start chatting!
Contributions are welcome! Please feel free to open issues or submit pull requests.
Happy chatting! 🚀