MingleMate is a real-time chat application built with React.js, Tailwind CSS, DaisyUI, Node.js, Express, MongoDB, and Socket.IO. It allows users to connect, chat, and share moments seamlessly.
- Real-time messaging with Socket.IO
- User authentication and authorization
- Responsive and modern UI with Tailwind CSS and DaisyUI
- Persistent chat history with MongoDB
- Online/offline user status
- Typing indicators and read receipts
- Secure password encryption using bcrypt
- RESTful APIs built with Express
- Cloud-based image uploads with Cloudinary
- React.js
- Tailwind CSS
- DaisyUI
- Node.js
- Express.js
- Socket.IO
- MongoDB
- JWT (JSON Web Tokens)
- bcrypt
- Cloudinary
CHAT-APP/
├── backend/
│ ├── controllers/
│ ├── middleware/
│ ├── models/
│ ├── routes/
│ ├── index.js # Backend entry point
│ └── .env # Environment variables
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── lib/
│ │ ├── pages/
│ │ ├── store/
│ │ ├── utils/
│ │ ├── App.jsx
│ │ ├── index.css
│ │ └── index.js
│ ├── public/
│ └── dist/
├── .gitignore
├── package.json
├── package-lock.json
├── README.md
└── MingleMate2.svg
git clone https://github.com/AviralJaiswal/ChatBot.git
cd Chat-Appnpm installCreate a .env file in the backend directory and add:
MONGODB_URI="your URI"
JWT_SECRET=mysecretkey
CLOUDINARY_CLOUD_NAME="name of cloud"
CLOUDINARY_API_KEY="YOUR KEY"
CLOUDINARY_API_SECRET="YOUR API SECRET"
NODE_ENV=development
PORT=5001cd backend
npm startcd frontend
npm starthttp://localhost:3000
- POST
/api/auth/register— Register a new user - POST
/api/auth/login— Authenticate user and return JWT token
- GET
/api/messages/:chatId— Get messages for a specific chat - POST
/api/messages— Send a new message
npm run server— Start backend servernpm run client— Start frontend React appnpm run dev— Start both client and server concurrently
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m 'Add your message' - Push to the branch:
git push origin feature/your-feature-name - Open a Pull Request
This project is licensed under the MIT License.
For any inquiries or collaboration, reach out at avijai2004@gmail.com.


