Skip to content

nabeeltahir785/chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Chat Application

This is a real-time chat application that enables users to join different chat rooms, send private messages within rooms, see typing indicators, receive notifications and view recent message history. The application is built with NestJS for the backend, React with TypeScript for the frontend and MongoDB for database management.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js
  • MongoDB
  • npm

Installing

Backend Setup

  1. Navigate to the backend directory from the root of the project:
cd backend
  1. Install dependencies:

npm install

  1. Ensure MongoDB is running on your local machine. Start the NestJS server:

npm run start:dev

The backend server should now be running and listening for connections.

Frontend Setup

  1. Navigate to the frontend directory from the root of the project:

cd frontend

  1. Install dependencies:

npm install

  1. Start the React application:

npm start

The application should now open in your default web browser.

Features

  • Multiple Rooms: Users can join and interact in different chat rooms.
  • Private Messages: Users can send private messages to individuals within the same room.
  • Typing Indicator: Shows when a user is typing in the chat room.
  • Notifications: Notifies users when someone joins or leaves a chat room.
  • Message History: Displays the last 10 messages in the chat room for newly joined users.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published