The Distributed Chat System is a collaborative chat application developed using the Akka actor model and Scala programming language. The system allows users to engage in real-time conversations, create groups for collaborative discussions, and experience a user-friendly interface powered by ScalaFX.
- Scalable: Built on Akka's actor model, the system is designed to scale horizontally, handling an increasing number of users.
- User Interface: A user-friendly interface created using ScalaFX and FXML for a seamless user experience.
- Group Messaging: Users can create and join groups for collaborative discussions.
Ensure you have the following software installed:
- Java Development Kit (JDK)
- Scala (Version 2.12.16)
- SBT (Scala Build Tool) for managing the project build
-
Clone the repository:
git clone https://github.com/mirmanoov/distributed-chat-system.git
-
Navigate to the project directory:
cd distributed-chat-system
-
Compile the project:
sbt compile
-
Run the application:
sbt run
- Launch the application by following the installation instructions.
- Enter your name to join the chat.
- Explore features such as group creation, messaging, and real-time updates.
To run server, please set like this. Change the application.conf inside resource directory.
Canonical host: This please set to your local IPV4 address (not public IP)
Canonical port: Try use 25520
Bind host: Use the same local IPV4 address
Bind port: 25520
To run client change application.conf in resource folder
Canonical host: This please set to your local IPV4 address (not public IP)
Canonical port: 0
Bind host: "" (Use empty string)
Bind port: 0