- This repository contains a simple chat application developed using React.js for the front end and Node.js with Express for the back end. The application allows users to communicate in real-time via text messages in a web browser using Socket.io Library.
To run this application locally, follow these steps:
- Clone this repository to your local machine:
git clone https://github.com/SattyamSamania/Real-Time_Chat-Application.git
- Navigate into the cloned repository:
cd Real-Time_Chat-Application
- Navigate into the client directory and install the dependencies for the front end:
cd client
cd chat-app
npm install
After installing the dependencies, you can start the server by running the following command from the root directory:
npm run dev
Once the server is running, open your web browser and go to http://localhost:5173.
- Navigate into the server directory and install the dependencies for the Backend:
cd server
npm install
- To start the Server you can run this command:
npm start
Head over to http://localhost:4000 to see the Running Server.