Skip to content

πŸ’¬ Real-time MERN chat app with private messaging, WebSocket updates, JWT auth, and a sleek Tailwind UI.

Notifications You must be signed in to change notification settings

komal2203/mern-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ChattyPals πŸ’¬

A Real-Time Chat Application with MERN Stack

Live Preview

πŸš€ About the Project

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.

✨ Features

βœ… 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

πŸ›  Tech Stack

πŸ”Ή Frontend: React, Tailwind CSS
πŸ”Ή Backend: Node.js, Express.js
πŸ”Ή Database: MongoDB, Mongoose
πŸ”Ή Authentication: JWT, bcrypt
πŸ”Ή Real-time Communication: WebSockets (Socket.io)

πŸ“Έ Screenshots

Add relevant screenshots here
Screenshot 2025-03-17 234255 Screenshot 2025-03-17 234351

πŸš€ Getting Started

Prerequisites

Make sure you have Node.js, MongoDB, and npm/yarn installed on your system.

Installation

  1. Clone the Repository

    git clone https://github.com/your-username/ChattyPals.git
    cd ChattyPals
  2. Install Dependencies

    npm install
  3. Set Up Environment Variables
    Create a .env file in the root directory and add:

    MONGO_URI=your_mongodb_uri
    JWT_SECRET=your_jwt_secret
  4. Run the Server

    npm start
  5. Run the Client

    cd client
    npm start

πŸš€ Deployment

To deploy, you can use Vercel/Netlify for frontend and Render/Heroku for backend.

🀝 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss your ideas.

πŸ“œ License

This project is licensed under the MIT License.

πŸ“¬ Contact

For any queries, feel free to reach out:
πŸ“§ Email: komalmeena170312@gmail.com

Let me know if you'd like any modifications! πŸš€

About

πŸ’¬ Real-time MERN chat app with private messaging, WebSocket updates, JWT auth, and a sleek Tailwind UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published