This is a basic chat application built using Node.js and Socket.io. It allows users to exchange real-time messages in a simple and responsive UI. The application uses WebSockets to establish communication between the server and clients.
To run the chat application on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/chat-application-nodejs.git cd chat-application-nodejs
-
Install dependencies:
Make sure you have Node.js and npm installed. Then, run:
npm install
-
Start the server:
node server.js
The server will start on port 3000 by default. You can access the application by opening your web browser and navigating to http://localhost:3000.
- Real-time messaging using Socket.io.
- Basic responsive UI resembling WhatsApp.
- Simple user interface for sending and receiving messages.
- Easy to understand code structure for beginners.
Contributions are welcome! If you want to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -am 'Add some feature'
. - Push the branch to your fork:
git push origin feature/your-feature-name
. - Create a pull request from your fork's branch to the
main
branch of this repository.
This project is licensed under the MIT License.
- This project was inspired by the need for a simple, real-time chat application for learning purposes.