Skip to content

A full-stack chat application built with the MERN stack and Socket.IO for real-time messaging. The app supports text and image messaging, with images securely stored via the Cloudinary API. It uses JWT Authentication for secure user sessions and features a modern, responsive UI styled with Tailwind CSS and DaisyUI, offering 20+ themes.

Notifications You must be signed in to change notification settings

harsh-panchal-804/Full-Stack-Chat-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Stack Chat App

Welcome to Chatty! This application allows users to chat in real-time, share messages, and upload photos seamlessly.

Features

  • Real-time messaging powered by Socket.IO.
  • Photo sharing: Upload photos to Cloudinary and share them instantly.
  • State management using Zustand.
  • Frontend built with React and styled using DaisyUI with 15+ customizable themes.
  • Backend developed using Node.js and Express.js.
  • Database: All data is stored in MongoDB.
  • Responsive Design: Fully optimized for desktop and mobile devices.

Deployment

The project has been deployed on Render. You can access it at: (https://full-stack-chat-app-4.onrender.com/)

Demo

Demo GIF

Tech Stack

Frontend

  • React
  • DaisyUI (TailwindCSS-based component library)
  • Zustand (State management)

Backend

  • Node.js
  • Express.js
  • Socket.IO

Database

  • MongoDB

Third-Party APIs

  • Cloudinary (for image storage)

Installation

Follow these steps to set up the project locally:

Prerequisites

  • Node.js (v14 or later)
  • MongoDB (local or cloud)
  • Cloudinary account

Steps

  1. Clone the Repository

    git clone https://github.com/harsh-panchal-804/Full-Stack-Chat-App
  2. Install Dependencies

    # Install server dependencies
    cd FrontEnd
    npm install
    
    # Install client dependencies
    cd BackEnd
    npm install
  3. Set Up Environment Variables Create .env files in both the server and client directories.

    Server .env:

    MONGO_URI=your-mongodb-connection-string
    CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name
    CLOUDINARY_API_KEY=your-cloudinary-api-key
    CLOUDINARY_API_SECRET=your-cloudinary-api-secret
    PORT=5000
  4. Run the Application

    # Start the server
    cd BackEnd
    npm run dev
    
    # Start the client
    cd FronEnd
    npm run dev

Contributions

Feel free to submit a pull request or open an issue for any suggestions or improvements.

About

A full-stack chat application built with the MERN stack and Socket.IO for real-time messaging. The app supports text and image messaging, with images securely stored via the Cloudinary API. It uses JWT Authentication for secure user sessions and features a modern, responsive UI styled with Tailwind CSS and DaisyUI, offering 20+ themes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages