Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 912 Bytes

README.md

File metadata and controls

60 lines (40 loc) · 912 Bytes

Chatrooms Project

This project is a simple chat application built with a WebSocket server and a React client.

Getting Started

Prerequisites

  • Node.js
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/chatrooms.git
    cd chatrooms
  2. Install dependencies for the WebSocket server:

    cd websockets
    npm install
  3. Install dependencies for the React client:

    cd ../client
    npm install

Running the Application

  1. Start the WebSocket server:

    cd websockets
    npm run dev
  2. Start the React client:

    cd ../client
    npm run dev
  3. Open your browser and navigate to http://localhost:3000.

Features

  • Real-time chat with WebSocket.
  • Join chat rooms.
  • Send and receive messages.

License

This project is licensed under the MIT License.