A simple real-time chat application built with Node.js and Socket.IO.
This real-time chat application allows users to join different chat rooms and exchange messages in real-time. It uses Node.js on the server side and Socket.IO for real-time communication between clients and the server.
- Node.js installed on your machine.
-
Clone this repository:
git clone https://github.com/yourusername/real-time-chat-app.git
-
Change to the project directory:
cd Realtime_Chat_App
-
Install the dependencies:
npm install
-
Start the server:
npm start
-
Open your web browser and visit
http://localhost:3000
to access the chat application. -
Choose a username and a chat room to join, and start chatting in real-time.
Before running the application, you may customize the server configuration in the .env
file.
# Server Configuration
SERVER_PORT=3000
Important: Make sure to rename the .example.env
file to .env
and fill it with your specific configuration values.