Skip to content

SarthakKrishak/ChatHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChatHub Logo

ChatHub

ChatHub is a modern, real-time chat application designed for seamless, anonymous communication. Instantly connect and chat with anyone online—no prior connections, no personal details required.


Table of Contents


Features

  • Anonymous Real-Time Chat: Connect and chat instantly with any online user, maintaining privacy and anonymity.
  • Modern User Interface: Clean, responsive, and intuitive UI built with React and Tailwind CSS.
  • Online User Detection: Automatically displays users who are currently online.
  • High Performance: Optimized for speed and simplicity.
  • Secure Authentication: User sessions managed with JWT for secure access.

Tech Stack

  • Frontend: React, Tailwind CSS
  • Backend: Node.js, Express.js
  • Real-Time Messaging: Socket.IO
  • Authentication: JSON Web Tokens (JWT)

How It Works

Upon logging in, users become visible to others who are online. Any user can initiate a chat with another online user—no need for prior connections or sharing of personal information. All conversations remain anonymous unless users choose to disclose their details.


Getting Started

Prerequisites

  • Node.js (v14 or higher recommended)
  • npm (comes with Node.js)
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/SarthakKrishak/ChatHub.git
    cd ChatHub
  2. Install dependencies for both frontend and backend:

    Frontend:

    cd frontend
    npm install

    Backend:

    cd ../backend
    npm install

Running the Application

Start the Frontend:

cd frontend
npm run dev

Start the Backend:

cd backend
npm i
node index.js

About

Visit ChatHub 🚀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages