This is a real-time chat application built using Node.js, Express, and Socket.IO. It allows multiple users to join chat rooms and communicate with each other in real-time. Other users are informed when new users join or when users leave by closing their window.
- Real-time Messaging: Users can send and receive messages in real-time.
- User Authentication: Users can join chat rooms with a username.
- Audio Notification: Plays a sound when a new message is received.
-
Clone the repository:
git clone https://github.com/RiyaRaj28/ChatApp.git
-
Install dependencies :
npm install
-
Start the server:
npm start
-
Open application in your browser:
http://localhost:8000
- Enter your name to join the chat room.
- Send messages to the chat room.
- Receive messages from other users in real-time.
- Leave the chat room by closing the browser window or tab.
- Node.js
- Express
- Socket.IO
- HTML
- CSS
- JavaScript