CHATAPI is a simple Java application that provides a custom implementation of a chat server using sockets. It allows users to create chat rooms and communicate within them in real time.
-
Create Chat Rooms: Users can create chat rooms with unique names.
-
Join Chat Rooms: Users can join existing chat rooms to participate in conversations.
-
Send Messages: Once in a chat room, users can send messages to communicate with others in real-time.
-
Java: The application is developed using Java, providing a robust and scalable backend.
-
Sockets: CHATAPI utilizes sockets for network communication between clients and the server, enabling real-time messaging.
-
Multi-Threading: Multi-threading is employed to handle concurrent connections and message processing efficiently.
To run CHATAPI locally, follow these steps:
- Clone the Repository:
git clone https://github.com/your_username/CHAT-API.git
- Navigate to the Project Directory:
cd CHAT-API
- Compile the Java Files:
javac *.java
- Run the Server:
java ServerMain
- Run the Client:
java ClientMain
Ensure you have Java installed on your system before proceeding with the installation.
- Start the Server: Run the ServerMain class to start the chat server.
- Start the Client: Run the ClientMain class to start the chat client.
- Create or Join a Chat Room: Choose to create a new chat room or join an existing one.
- Send Messages: Once in a chat room, type your message and press enter to send it to all participants.
Contributions to CHATAPI are welcome! If you encounter any bugs, have feature requests, or want to contribute enhancements, please feel free to open an issue or submit a pull request on GitHub.
CHATAPI is a simple Java application that provides a custom implementation of a chat server using sockets. It allows users to create chat rooms and communicate within them in real time.
- Create Chat Rooms: Users can create chat rooms with unique names.
- Join Chat Rooms: Users can join existing chat rooms to participate in conversations.
- Send Messages: Once in a chat room, users can send messages to communicate with others in real-time.
- Java: The application is developed using Java, providing a robust and scalable backend.
- Sockets: CHATAPI utilizes sockets for network communication between clients and the server, enabling real-time messaging.
- Multi-Threading: Multi-threading is employed to handle concurrent connections and message processing efficiently.
To run CHATAPI locally, follow these steps:
- Clone the Repository:
git clone https://github.com/your_username/CHAT-API.git
- Navigate to the Project Directory:
cd CHAT-API
- Compile the Java Files:
javac *.java
- Run the Server:
java ServerMain
- Run the Client:
java ClientMain
Ensure you have Java installed on your system before proceeding with the installation.
- Start the Server: Run the ServerMain class to start the chat server.
- Start the Client: Run the ClientMain class to start the chat client.
- Create or Join a Chat Room: Choose to create a new chat room or join an existing one.
- Send Messages: Once in a chat room, type your message and press enter to send it to all participants.
Contributions to CHATAPI are welcome! If you encounter any bugs, have feature requests, or want to contribute enhancements, please feel free to open an issue or submit a pull request on GitHub.