Skip to content

febin-d/Chat-Room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 Chatroom Web Application

A real-time chatroom web application built using Node.js that allows multiple users to communicate instantly through a web interface.

This project demonstrates backend concepts such as real-time communication, server-side event handling, and basic web application structure.


✨ Features

  • Real-time messaging between multiple users
  • Simple and responsive web interface
  • Server-side message handling
  • Environment-based configuration support

🛠️ Tech Stack

  • Node.js
  • Express.js
  • Socket.io
  • HTML / CSS / JavaScript

📁 Project Structure

chat-room-app/
├── models/           # Data models (if any)
├── public/           # Frontend files
├── server.js         # Main server file
├── package.json      # Project metadata and dependencies
├── package-lock.json # Dependency lock file
├── .env              # Environment variables (not uploaded)
└── node_modules/     # Installed dependencies (not uploaded)

📦 Installation & Setup

Prerequisites

  • Node.js (v14 or higher recommended)
  • npm (comes with Node.js)

Setup Steps

  1. Clone the repository
git clone https://github.com/your-username/chat-room-app.git
cd chat-room-app
  1. Install dependencies
npm install
  1. Configure environment variables

Create a .env file:

PORT=3000
  1. Run the server
node server.js
  1. Open browser and visit:
http://localhost:3000

📚 Learning Outcomes

  • Understanding real-time communication using Socket.io
  • Backend development with Node.js and Express
  • Handling multiple client connections
  • Structuring a simple full-stack application

🚀 Future Improvements

  • User authentication
  • Chat history storage using a database
  • Private chat rooms
  • Improved UI/UX

📜 License

This project is created for learning and educational purposes.


About

A real-time chatroom web application built using Node.js that enables users to communicate instantly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors