This is a real-time chat application built with Node.js, Express, and Socket.io. It allows multiple users to communicate with each other instantly.
- Node.js and npm should be installed on your system.
- Clone the repository to your local machine:
git clone https://github.com/alonz22/node-js-chat-app
cd node-chat-app
- Install the dependencies:
npm install
- Start the server:
node src/index.js
-
Open your web browser and visit
http://localhost:3000
. -
Enter your name and join the chat room.
-
Start chatting with other users in real-time!
- Real-time communication using Socket.io.
- User authentication and display of active users.
- Sending and receiving messages instantly.
- Node.js
- Express.js
- Socket.io
|-- node-chat-app/
|-- public/
| |-- index.html
| |-- chat.html
| |-- css/
| | |-- styles.css
| | |-- .DS_Store
| | |-- styles.min.css
| |-- img/
| | |-- favicon.png
| |-- js/
| |-- chat.js
|-- src/
| |-- index.js
| |-- utils/
| | |-- messages.js
| | |-- users.js
|-- .gitignore
|-- package.json
|-- package-lock.json
|-- README.md
Special thanks to Socket.io for their excellent library that made real-time communication easy.
Contributions are welcome! If you find any bugs or have any feature suggestions, feel free to open an issue or submit a pull request.
This project is licensed under the [MIT License].
This chat application is developed for educational and demonstration purposes only. It is not intended for production use and may have certain security limitations. Please do not use this application in any critical or sensitive environment.
The developers and contributors of this project are not liable for any damages, losses, or misuse of the application. Use it at your own risk.
Additionally, this project might use third-party libraries or tools, and their respective licenses and terms of use apply to their usage within this application.
Always exercise caution while using real-time applications, especially those that involve communication between multiple users.