Welcome to our real-time messaging software built using Java Swing. This project was developed by a team of 5, including Kenza Erraji, Gabriel Trier, Esteban MAGNON, Ines Benabdeljhalil, and Alexandre CURTI. Our application consists of a client and a server, which can be built into two jar files to enable easy launching of the program.
- Clone or download the repository from GitHub.
- Open the project in your preferred Java IDE (we used IntelliJ IDEA for this project).
- Enter the IP address of the server and credentials of your database computer in the server code.
- Enter and OPENAI API Key if you want to use one (Go to ConversationWindow class).
- Build the project to generate the client and server jar files.
- Launch the server jar file on a computer that will act as the server. You can do this by running the following command in the terminal: java -jar server.jar
- Launch the client jar file on two different computers to start chatting. You can do this by running the following command in the terminal: java -jar client.jar
- Start messaging in real-time!
Please go to server main, in "danger zone" you will have 3 options :
- Clear current database
- Create database tables
- Populate all the tables with test data (can be customized)
- Real-time messaging between multiple clients connected to a server.
- User-friendly GUI designed using Java Swing.
- Support private chat and group chat.
- Usernames and Timestamp displayed alongside messages for easy identification.
We welcome contributions to this project. Feel free to fork the repository and make changes. If you find any bugs or issues, please open an issue on GitHub.
This project is licensed under the MIT License. Please see the LICENSE.md file for more details.