Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.78 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.78 KB

ChatRoom-Mini-Project

A real-time chat room application built using Node.js, Socket.io, and basic HTML and CSS. This ChatRoom project is a mini-project created to apply and demonstrate the backend skills I have learned, particularly focusing on real-time communication using Node.js and Socket.io. It provides a simple chat room where multiple users can join and exchange messages in real-time.

Project Overview

The ChatRoom project is a hands-on implementation of real-time web application concepts that I have learned during my backend development studies. It illustrates how server-side logic can be integrated with real-time, event-driven communication to deliver a seamless user experience.

The backend is developed using Node.js, which manages the server-side logic and client connections. Socket.io is utilized to implement real-time, bidirectional communication, allowing users to instantly send and receive messages without needing to reload the page. The frontend remains deliberately simple, using only HTML and CSS, to ensure the focus remains on understanding and demonstrating core backend functionalities.

How to Run

  1. Clone the repository:

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

    cd ChatRoom
  3. Install dependencies:

    npm install
  4. Start the server:

    npm run dev
  5. Open your browser and go to http://localhost:5500 to start chatting!

Folder Structure

/public
  ├── index.html    # Frontend UI for chat room
  ├── style.css     # Basic styles for chat room
/server
  ├── index.js      # Server setup and Socket.io logic

Feel free to modify it based on your project structure or additional details!