A Peer-to-peer chat application designed and developed by group C&Q from Ho Chi Minh city University of Technology (HCMUT)
This is a product for Assignment 1 (2019-2020) of Computer Network (CO3003)
This repo is the source-code, not the complied once, so you need to install some requirements first in order to run correctly.
Recommend: You should use IntelliJ IDEA to compile and run this application for the best experiment.
-
Java Development Kit 8 (include JavaFX 8)
-
Libraries for Java 8:
Follow these steps to compile and run the application correctly:
-
Initialize Database:
Run all MariaDB's queries in file ./src/BKChat.sql
-
Edit Connector:
Edit file ./src/app/controllers/DBController.java:
Change
db_username
anddb_password
as the user's name and password of MariaDB that you was using to run all queries above. -
Run Server:
Compile and run file ./src/app/socket/ServerMaster.java first.
-
Run Application:
Compile and run file ./src/app/socket/Main.java and enjoy!
Any known issues will be placed here with solution. You should also help us detecting bugs and errors to fix them as soon as possible!