Skip to content

imshubham07/WebChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

WebChat πŸ’¬

A Real-Time Chat Application with WebSockets

Tech Stack Tech Stack Tech Stack

A full-stack real-time chat application built using React, TypeScript, and WebSockets. Create private rooms, exchange instant messages, and collaborate seamlessly across devices.


✨ Features

  • πŸš€ Instant Messaging β€” Real-time communication via WebSockets
  • πŸ”’ Private Rooms β€” Join or create rooms with unique 6-character codes
  • πŸ§‘ User Identity β€” Choose your display name for personalized chats
  • ✍️ Typing Indicators β€” See when others are typing in real-time
  • πŸ”„ Auto-Reconnect β€” Seamless recovery from dropped connections
  • πŸ“˜ Built-in Docs β€” Easy-to-access usage guide
  • πŸ“± Responsive UI β€” Tailwind CSS-powered design for all screen sizes

πŸ›  Tech Stack

Frontend Backend Tooling
React + TypeScript Node.js (ws library) Vite, ESLint, Prettier
Tailwind CSS WebSocket Protocol

πŸ“¦ Installation

1. Clone the repository

git clone https://github.com/imshubham07/WebChat.git
cd webchat

2. Install Dependencies

Client:

cd client
npm install

Server:

cd ../server
npm install

3. Run the Application

Start WebSocket Server (from server directory):

node index.js

Start Frontend Client (from client directory):

npm run dev

Visit: http://localhost:5173


πŸ§‘β€πŸ’» Usage

  • Enter a username and room code to join
  • Create a room using the "Generate" option or join an existing one
  • Start chatting in real-time!
  • Use the navigation bar to access documentation or exit rooms


πŸ“„ License

This project is licensed under the MIT License
Β© 2025

About

Websocket based Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published