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.
- 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.
- Frontend: React, Tailwind CSS
- Backend: Node.js, Express.js
- Real-Time Messaging: Socket.IO
- Authentication: JSON Web Tokens (JWT)
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.
-
Clone the repository:
git clone https://github.com/SarthakKrishak/ChatHub.git cd ChatHub
-
Install dependencies for both frontend and backend:
Frontend:
cd frontend npm install
Backend:
cd ../backend npm install
Start the Frontend:
cd frontend
npm run dev
Start the Backend:
cd backend
npm i
node index.js