A Real-Time Chat Application with MERN Stack
ChattyPals is a real-time chat application built using the MERN stack. It allows users to seamlessly communicate with instant messaging, secure authentication, and a responsive UI for an engaging experience.
β
Real-time Messaging β Powered by WebSockets for instant communication
β
Secure Authentication β Implemented JWT authentication to ensure data security
β
User Presence Indicator β Displays online/offline status in real time
β
Responsive UI β Designed with Tailwind CSS for seamless experience across devices
β
MongoDB Storage Optimization β Faster message retrieval for better performance
πΉ Frontend: React, Tailwind CSS
πΉ Backend: Node.js, Express.js
πΉ Database: MongoDB, Mongoose
πΉ Authentication: JWT, bcrypt
πΉ Real-time Communication: WebSockets (Socket.io)
Make sure you have Node.js, MongoDB, and npm/yarn installed on your system.
-
Clone the Repository
git clone https://github.com/your-username/ChattyPals.git cd ChattyPals -
Install Dependencies
npm install
-
Set Up Environment Variables
Create a.envfile in the root directory and add:MONGO_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret
-
Run the Server
npm start
-
Run the Client
cd client npm start
To deploy, you can use Vercel/Netlify for frontend and Render/Heroku for backend.
Pull requests are welcome! For major changes, please open an issue first to discuss your ideas.
This project is licensed under the MIT License.
For any queries, feel free to reach out:
π§ Email: komalmeena170312@gmail.com
Let me know if you'd like any modifications! π

