ChatApp

ChatApp

ChatApp is a web application created using Express.js, React.js, and MongoDB that allows users to log in and engage in real-time messaging. This project aims to expand knowledge in React, MongoDB, and additional tools like Tailwind CSS, DaisyUI, and Socket.io for live updates.

Live Demo: Visit ChatApp

Key Features

Real-Time Messaging

  • Send and receive messages instantly: Users can communicate in real-time using Socket.io for live updates.

Authentication

  • User login and registration: Secure login and signup functionality.

Notifications

  • Sound alerts: Users receive audio alerts when a message arrives in an active conversation.

User Presence

  • Online status: Displays online status indicators for users.

Responsive Design

  • The application is responsive, working smoothly on both desktop and mobile devices.

Tech Stack

  • React: Used for creating the dynamic user interface.
  • Express.js and MongoDB: Serve as the backend and database for handling user data and messages.
  • Socket.io: Provides real-time messaging capabilities.
  • Tailwind CSS and DaisyUI: Style the interface for a modern look and feel.

Screenshots:

  • Login Page LoginPage
  • SignUp Page SignUpPage
  • Home Page (No Chat Selected) HomePageNoChatSelected
  • Home Page (With Chat Selected) HomePageWithChatSelected

Installation

  1. Install Dependencies:
    npm install
    
  2. Start the backend server:
     npm run server
    
  3. Start the frontend development server:
    npm run server