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

https://github.com/shashankgupta10/chatroom


https://github.com/shashankgupta10/chatroom

chat expressjs node-js reactjs socket-io

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Chatroom Web App

This is a simple chatroom web application built using React, Express, and Socket.IO.

## Instructions to Run the Application:

1. **Clone the Repository:**

- Clone this repository to your local machine using the following command:

```
git clone github.com/ShashankGupta10/ChatRoom
```

2. **Navigate to the Project Directory:**

- Move into the project directory by running:

```
cd ChatRoom
```

3. **Install Dependencies:**

- Install the necessary dependencies for the server (Express) by running:

```
cd server
npm install
```

- Open a new terminal and install the dependencies for the client (React) by running:
```
cd client
npm install
```

4. **Start the Server:**

- Start the Express server by running:
```
cd server
npm start
```

5. **Start the Client:**

- In a new terminal window, navigate to the client directory and start the React development server:
```
cd client
npm start
```

6. **Access the Application:**
Once the server and client are running, you can access the chatroom web application by opening your web browser and navigating to [http://localhost:3000](http://localhost:3000).

## Application Features:

- **Real-time communication:** Messages are sent and received in real-time using Socket.IO.
- **Simple interface:** The chatroom interface provides a minimalistic and intuitive design for ease of use.
- **Systematic message display:** Messages sent by the user are displayed on the right side, while messages from other users are displayed on the left side.

## Technologies Used:

- **React:** Frontend JavaScript library for building user interfaces.
- **Express:** Web application framework for Node.js.
- **Socket.IO:** JavaScript library for real-time, bidirectional communication between web clients and servers.
- **Tailwind CSS:** Styling the Web Application.