An open API service indexing awesome lists of open source software.

https://github.com/sattyamsamania/real-time_chat-application

Simple Real Time Chat Application using React JS , Node JS and Socket.io for building the Connection between the Client and Server.
https://github.com/sattyamsamania/real-time_chat-application

chat-application nodejs reactjs socket-io

Last synced: about 2 months ago
JSON representation

Simple Real Time Chat Application using React JS , Node JS and Socket.io for building the Connection between the Client and Server.

Awesome Lists containing this project

README

          

# Real-Time_Chat-Application

- 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.

## Installation

To run this application locally, follow these steps:

1. Clone this repository to your local machine:

```bash
git clone https://github.com/SattyamSamania/Real-Time_Chat-Application.git
```

2. Navigate into the cloned repository:

```bash
cd Real-Time_Chat-Application

```

3. Navigate into the client directory and install the dependencies for the front end:

```bash
cd client
cd chat-app
npm install

```

## Usage
After installing the dependencies, you can start the server by running the following command from the root directory:

```bash
npm run dev

```

Once the server is running, open your web browser and go to http://localhost:5173.

## To Start Backend Server

4. Navigate into the server directory and install the dependencies for the Backend:

```bash
cd server
npm install
```

5. To start the Server you can run this command:

```bash
npm start
```

Head over to http://localhost:4000 to see the Running Server.