Skip to content

kevin-waran/ChatAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatAPI

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.

Features

  • 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.

Installation and Setup

To run CHATAPI locally, follow these steps:

  1. Clone the Repository: git clone https://github.com/your_username/CHAT-API.git
  2. Navigate to the Project Directory: cd CHAT-API
  3. Compile the Java Files: javac *.java
  4. Run the Server: java ServerMain
  5. Run the Client: java ClientMain

Ensure you have Java installed on your system before proceeding with the installation.

Usage

  1. Start the Server: Run the ServerMain class to start the chat server.
  2. Start the Client: Run the ClientMain class to start the chat client.
  3. Create or Join a Chat Room: Choose to create a new chat room or join an existing one.
  4. Send Messages: Once in a chat room, type your message and press enter to send it to all participants.

Contribution

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

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.

Features

  • 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.

Technologies Used

  • 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.

Installation and Setup

To run CHATAPI locally, follow these steps:

  1. Clone the Repository: git clone https://github.com/your_username/CHAT-API.git
  2. Navigate to the Project Directory: cd CHAT-API
  3. Compile the Java Files: javac *.java
  4. Run the Server: java ServerMain
  5. Run the Client: java ClientMain

Ensure you have Java installed on your system before proceeding with the installation.

Usage

  1. Start the Server: Run the ServerMain class to start the chat server.
  2. Start the Client: Run the ClientMain class to start the chat client.
  3. Create or Join a Chat Room: Choose to create a new chat room or join an existing one.
  4. Send Messages: Once in a chat room, type your message and press enter to send it to all participants.

Contribution

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages