Skip to content

Green Chats enables secure, fast, and user-friendly communication with support for text and emoji messaging using Socket.IO.

Notifications You must be signed in to change notification settings

israil-fakir/Green_Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Green Chats Application

A real-time messaging platform built for the Computer Networking Lab (CSE 312) project at Green University of Bangladesh.
Green Chats enables secure, fast, and user-friendly communication with support for text and emoji messaging using Socket.IO.


๐Ÿ“Œ Overview

Green Chats is designed to facilitate instant communication between users through a secure login system and real-time messaging. The application demonstrates key networking concepts such as:

  • Socket-based real-time communication
  • User authentication & data security
  • Scalable client-server architecture

๐ŸŽฏ Motivation

This project applies networking fundamentals learned in class to a practical communication tool.

  • Improve real-time efficiency and security in chat applications
  • Create a lightweight and user-friendly messaging system
  • Explore Socket.IO for instant data synchronization

๐Ÿ›  Features

  • User Registration & Login with email/password authentication
  • Real-Time Messaging powered by Socket.IO
  • Emoji Support for expressive communication
  • Secure Data Handling with HTTPS and password encryption
  • Concurrent User Sessions with minimal latency
  • Cross-Platform Compatibility (works across browsers and devices)

๐Ÿ“‚ Technology Stack

Frontend: HTML, CSS, JavaScript

Backend: Node.js, Socket.IO

Database: MongoDB (or MySQL)

Others: Git & GitHub for version control, HTTPS for secure communication

๐Ÿ“‹ Requirements

Software

  • Node.js
  • MongoDB / MySQL
  • Modern browser (Chrome, Firefox, Edge)

Hardware

  • Client: Dual-core CPU, 4GB RAM, stable internet
  • Server: Quad-core CPU, 8GB RAM, high-speed network

๐Ÿš€ Installation & Setup

  1. Clone the repository

    git clone https://github.com/israil-fakir/Green_Chat.git
    cd Green_Chat
  2. Install dependencies

    npm install
  3. Configure Environment Variables

    Create a .env file with:

    DB_URI=your_database_connection_string
    PORT=3000
  4. Start the server

    npm start
  5. Open your browser and visit:

    http://localhost:3000

๐Ÿ“ธ Screenshots

Signup Page:

Signup Page

Login Page:

Login Page

Home Page:

Chat Interface

๐Ÿ“Š Performance Highlights

  • Instant message delivery under stable network conditions
  • Secure login with proper validation and encryption
  • Handles multiple concurrent users without performance degradation
  • Clean, intuitive UI for easy navigation

โš  Limitations

  • No file sharing or voice/video calls yet
  • No multi-factor authentication (MFA)
  • Dependent on stable internet connection
  • Limited scalability for extremely high concurrent users

๐Ÿ”ฎ Future Improvements

  • End-to-end encryption
  • Multi-factor authentication
  • File sharing & media support
  • Voice & video calling
  • Offline messaging & message queuing
  • Group chat functionality
  • AI-based features like chatbots or sentiment analysis

๐Ÿ“š Authors

  • Md. Israil Fakir (221902125)
  • Md. Sabbir Hossain (221902126)
  • Nazmul Hossain (221902337)

Course Instructor: Sharifur Rahman
Green University of Bangladesh

๐Ÿ“œ License

This project is for educational purposes as part of Computer Networking Lab coursework.

๐Ÿ“ฌ Contact

For questions or feedback, please open an issue on GitHub.

About

Green Chats enables secure, fast, and user-friendly communication with support for text and emoji messaging using Socket.IO.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages