Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Chat Application 🚀

A real-time chat web application that allows users to join chat rooms, send messages, upvote messages, and dynamically prioritize important conversations based on upvotes.

🌟 Features

  • ✅ Users can join a chat room and send messages in real-time
  • ✅ Upvote chat messages to highlight important discussions
  • ✅ Medium priority section for messages with more than 10 upvotes
  • ✅ High priority section for messages with more than 15 upvotes
  • ✅ Admin alerts triggered for high-priority messages

🛠️ Tech Stack

🧑‍💻 How to Run the Project

🔧 Option 1: Run Without Docker

Make sure you have Node.js (v18 or higher) installed on your machine.

Frontend
  1. Open a terminal and navigate to the frontend folder:

    cd frontend
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. The frontend will start on http://localhost:5173

Backend
  1. Open a new terminal and navigate to the server folder:

    cd server
  2. Install dependencies:

    npm install
  3. Start the backend server:

    npm run dev
  4. The backend will start on http://localhost:3000


🐳 Option 2: Run With Docker (Recommended)

Make sure you have Docker and Docker Compose installed.

  1. In the root of the project (where docker-compose.yaml is located), build and start the containers:

    docker-compose up --build
  2. Access the app:


Chat page:

image

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages