Live Project Link : https://chat-application-odsw.onrender.com/
This project is a real-time chat application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It enables users to engage in real-time conversations, send friend requests, acces.ept or reject friend requests, send files along with chat messages, and receive notification alerts for new messag
- Real-Time Chat: Enable users to communicate with each other in real-time using Socket.IO.
- Friend Requests: Users can search for other users and send friend requests to connect with them.
- Friend Requests Management: Users have the option to accept or reject incoming friend requests.
- File Sharing: Users can send files along with chat messages, implemented using Multer for file uploads and Cloudinary for storing file data.
- Notification Alerts: Users receive notification alerts for new messages.
- User Authentication: Login and registration functionality using cookie-based authentication.
- Frontend: React, Tailwind CSS
- Backend: Node.js, Express.js, socket.io
- Database: MongoDB(for user data), Cloudinary (for storing user files)
- Clone the Repository:
git clone https://github.com/yourusername/your-repository.git
- Install Dependencies:
cd your-repository
thennpm install
in both the client and server directories. - Environment Variables: Set up environment variables for MongoDB connection URI, Cloudinary configuration, and other necessary variables.
- Start the Development Server: Run
npm start
in both the client and server directories.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.