A real-time chat application developed using the MERN (MongoDB, Express.js, React, Node.js) stack and Socket.IO. The application allows users to engage in real-time messaging, featuring a sidebar that displays new messages in conversations not currently being viewed, and a chat section that presents a sorted list of messages and a textarea for entering new messages.
- React
- React Router Dom
- Axios
- Bootstrap
- React Toastify
- Socket.IO Client
To run the front-end locally:
- Clone the repository:
git clone [front-end-repo-url]
- Navigate to the project directory:
cd [front-end-folder]
- Install the dependencies:
npm install
- Start the development server:
npm start
- Node.js
- Express.js
- Socket.IO
- MongoDB (via Mongoose)
- Bcrypt
- Cookie Parser
- Cors
- Date-fns
- Dotenv
- Jsonwebtoken
To run the back-end locally:
- Clone the repository:
git clone [back-end-repo-url]
- Navigate to the project directory:
cd [back-end-folder]
- Install the dependencies:
npm install
- Set up the environment variables in a
.env
file. - Start the server:
npm start
This project is licensed under the MIT License.