This is a real-time chat application built using Node.js and Socket.IO. It allows users to communicate with each other in real-time through a web interface.
- Real-time messaging: Users can send and receive messages instantly without refreshing the page.
- Multiple users: Multiple users can join the chat room and engage in conversations.
- User-friendly interface: The chat application provides an intuitive and easy-to-use interface.
Before running the chat application, make sure you have the following prerequisites installed on your system:
- Node.js: Download and install Node.js
- NPM: Node Package Manager, which is included with Node.js
- Nodemon: Automatic server restart on file changes
npm install -g nodemon
- Socket.IO: Real-time bidirectional event-based communication library
npm install socket.io
-
Clone the repository or download the source code.
git clone https://github.com/touchhowling/NodeProjects.git
-
Navigate to the project directory.
cd nodeserver
-
Install the dependencies.
npm install
-
Start the server.
npm start
The server will automatically restart if any file changes are detected, thanks to
nodemon
. -
Open a web browser and navigate to
http://localhost:3000
to access the chat application. -
Enter your desired username and join the chat room.
-
Start sending and receiving messages in real-time.
This project is licensed under the ISC License. See the LICENSE file for more information.
Contributions are welcome! If you find any issues or have suggestions for improvement, please submit an issue or a pull request.
If you have any questions or want to reach out regarding this project, you can contact the author:
- Author: DSS
- Email: devsaransujan@gmail.com
Feel free to update the contact information with your own details.
Make sure to adjust any URLs or paths if needed to match your project's structure.