This is a simple chat application built using NestJS and Socket.IO. It allows users to engage in real-time communication by sending and receiving messages through a WebSocket connection established by Socket.IO.
- Real-time messaging: Users can send and receive messages instantly without the need to refresh the page.
- Multiple users: The app supports multiple users participating in the chat simultaneously.
- Name display: Each message in the chat displays the name of the user who sent it.
- Responsive design: The app is designed to be mobile-friendly and adjusts to different screen sizes.
- NestJS: A progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
- Socket.IO: A library that enables real-time, bidirectional, and event-based communication between the browser and the server using WebSocket.
To run the chat app locally, follow these steps:
- Clone the repository:
git clone <repository-url>
- Install dependencies:
npm install
- Start the server:
npm start
- Access the app in your browser at
http://localhost:3000
- Open the chat app in your browser.
- Enter your name in the provided input field.
- Type your message in the message input field.
- Click the "Send" button or press Enter to send the message.
- Your message will be displayed in the chat along with your name.
- Other participants' messages will appear in real-time.
Here's an example of how the app looks:
Contributions to this project are welcome. If you find any issues or would like to enhance the app's functionality, feel free to submit a pull request.
This project is licensed under the MIT License.