This is a real-time chat application built with Express.js, Socket.IO, and React.js.
- User registration and login with basic fields like name, password, and username.
- After logging in, users can see all other registered users.
- Real-time chat functionality between users.
- Clone the repository:
git clone https://github.com/saaud26/Realtime-chat.git
- Install the dependencies for the backend:
cd Realtime-chat/backend
npm install
- Install the dependencies for the frontend:
cd ../frontend
npm install
- Start the backend server:
cd ../backend
npm run dev
- In a new terminal window, start the frontend server:
cd ../frontend
npm run dev
After starting both servers, open a web browser and navigate to http://localhost:5174
(or whatever port your frontend server is running on) to start using the application.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.