/realtime-chatapp

Chat application | Room for chatting

Primary LanguageJavaScript

MERN Stack Project : A Real Time Chat App | JWT, Socket.io

Some Features:

  1. Built with: MERN stack (MongoDB, Express, React, Node.js), Socket.io, TailwindCSS & Daisy UI (styling)

  2. Secure Login: JWT-based authentication & authorization

  3. Instant Messaging: Real-time communication powered by Socket.io

  4. Live User Presence: See who's online instantly (Socket.io & React Context)

  5. Centralized State: Global state management made easy with Zustand

  6. Robust Error Handling: Handles errors gracefully on both server and client

Setup .env file

PORT=...
MONGO_DB_URI=...
JWT_SECRET=...
NODE_ENV=...

Build the app

npm run build

Start the app

npm start