Skip to content

This project aims to develop a real-time web-based chat application using Java technologies. The application will allow users to create accounts, log in, join chat rooms, and send and receive messages instantly within a standard web browser. The focus is on creating a responsive, user-friendly, and scalable chat experience.

Notifications You must be signed in to change notification settings

menacedjava/chatApp-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatApp Java

Chat App Java is a simple console-based client-server chat application built in Java using sockets. It demonstrates the fundamentals of real-time communication, threading, and network programming in Java. This project is ideal for beginners lookin' to understand how TCP/IP-based messaging systems work behind the scenes.

🧠Features

✅ Real-time messaging between multiple clients
✅ Multithreaded server capable of handling multiple connections
✅ Simple text-based interface
✅ Lightweight and minimal dependencies (pure Java)
✅ Clean separation between server and client code

🏗️Project Structure

↕ Server.java - Listens for incoming client connections and relays messages to all connected clients.
• Client.java - Connects to the server, sends messages, and listens for incoming messages from the server.

🚀 How it works

1. Server starts and listens on a defined port.
2. Clients connect to the server using the same port and IP-address.
3. Each client runs in its own thread to allow for simultaneous message sendin' and receivin'.
4. Messages sent from one client and broadcast to all other clients via the server.

🧪How to Run

1. Clone the repository

git clone https://github.com/menacedjava/chatApp-java.git
cd chatApp-java 

About

This project aims to develop a real-time web-based chat application using Java technologies. The application will allow users to create accounts, log in, join chat rooms, and send and receive messages instantly within a standard web browser. The focus is on creating a responsive, user-friendly, and scalable chat experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published