ChatRoom is a real-time chat application that allows multiple users to chat anonymously.
To set up the project, follow these steps:
-
Clone the repository to your local machine using
git clone https://github.com/your-username/ChatRoom.git
. -
Change into the project directory by running
cd ChatRoom
. -
Initialize the project and create a "package.json" file with default values using the command:
npm init -y
. -
Install the required dependencies, Express and Socket.io, by running:
npm install express socket.io --save
.
Once the setup is complete, you can start the chat application by running the command: node server.js
.
Open your web browser and visit http://localhost:3000
to access the ChatRoom application.
Enjoy chatting with multiple users in real-time, all while remaining anonymous!