YugalRajVimal / chat-app-socketIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console Chat App with Socket.IO

This is a console-based chat application built using Node.js, Express, and Socket.IO.

Features

  • Real-time chat with multiple users
  • Console interface for both server and client
  • Simple and easy to use

Getting Started

Prerequisites

  • Node.js and npm installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/Cli-chat-app.git
  2. Navigate to the project directory:

    cd Cli-chat-app
  3. Install the dependencies:

     npm install

Usage

  1. server side:

    nodemon server.js

    The server will be running on http://localhost:9090

  2. Client side:

    open multiple terminals and run the following command in each terminal

    nodemon client.js

    Enter your username when prompted and start chatting in the console.

About


Languages

Language:JavaScript 100.0%