Skip to content

smRid/Real-time-Chat-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 Realtime Chat App

A full-stack Realtime Chat Application built with the MERN stack (MongoDB, Express.js, React.js, Node.js) and Socket.io for seamless, real-time messaging. The app features user authentication, real-time communication, and a fully responsive UI optimized for both desktop and mobile devices.


🔗 Preview

Dashboard Preview

🌍 Live Demo - https://chat-app-smr.onrender.com/


🚀 Features

  • 🔒 JWT-based user authentication
  • 🧠 Global state management using Zustand
  • 💬 Real-time chat updates via Socket.io
  • 🖼️ Cloudinary integration for profile image uploads
  • ☁️ Responsive and mobile-friendly UI with DaisyUI
  • 🔔 Instant notifications with react-hot-toast
  • 🛠️ RESTful API with Express & MongoDB
  • 🔄 Persistent login using cookies
  • 🌐 Modern routing with React Router DOM v7
  • 🌙 Light/Dark theme support via DaisyUI themes

🖥️ Tech Stack

🚀 Frontend

🛠 Backend


To get started follow these steps:

Cloning the Repository

Using CLI

git clone https://github.com/smRid/Real-time-Chat-App.git

**Ensure you have installed Git on your machine.

or using GitHub:

  • Go to the project repository on my GitHub page
  • Click on the green button on the top 👆
  • Click Download ZIP

⚙️ Installation

Setup .env file

MONGODB_URI=...
PORT=5001
JWT_SECRET=...

CLOUDINARY_CLOUD_NAME=...
CLOUDINARY_API_KEY=...
CLOUDINARY_API_SECRET=...

NODE_ENV=development

Install the project dependencies using npm:

Build the app

npm run build

**Ensure you have installed NodeJS on your machine.

Start the app

npm run start

**Navigate to http://localhost:5001 in your browser to access the local development server.

About

MERN stack Realtime Chat Application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages