Live Chat is a real-time chat application built using Node.js, Express, and Socket.IO. It allows multiple users to join a chat room and communicate with each other instantly.
This project was created as a learning exercise to understand and apply the following concepts:
- Express for building web applications
- HTTP and WebSocket protocols
- Socket.IO for real-time communication
- Event Emitter and Event Listener concepts
- Real-time messaging
- User-friendly interface
- Displays typing notifications
- Shows the total number of connected clients
-
Clone the repository:
git clone https://github.com/BalaSuresh61/Live_Chat.git cd Live_Chat
-
Install dependencies:
npm install
-
Run the application:
npm start
or
npm dev
-
Open your browser and visit:
http://localhost:5000
- Open your browser and navigate to
http://localhost:5000
- Enter your name and start chatting with others in the chat room
- See real-time messages, typing notifications, and the total number of clients
- Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine
- Express: Fast, unopinionated, minimalist web framework for Node.js
- Socket.IO: Enables real-time bidirectional event-based communication