This is a simple online chat application built using Node.js, Express, and WebSocket (ws).
- Real-time communication between clients
- Simple and intuitive interface
- Easy to set up and use
Make sure you have Node.js and npm installed on your machine.
-
Clone the repository:
-
Navigate to the project directory:
-
Install the dependencies:
npm install
To start the application, use the following command:
npm run start
This will start the server using nodemon, which will automatically restart the server if any files change.
- Open the application in your browser. You can use
http://localhost:3000
by default. - Open the application in two different tabs or browsers.
- Start chatting! Messages sent from one tab will be received in real-time in the other tab.
- Node.js
- Express
- WebSocket (ws)
- Nodemon
This project is licensed under the MIT License
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.
- Inspiration for this project came from learning how real-time web applications work.
- Thanks to the developers of Node.js, Express, and WebSocket for making such powerful tools available.