/BKChat

Peer-to-peer Chat Application from BK

Primary LanguageJava

BKChat

A Peer-to-peer chat application designed and developed by group C&Q from Ho Chi Minh city University of Technology (HCMUT)

Demo-intro Demo-main

This is a product for Assignment 1 (2019-2020) of Computer Network (CO3003)

Requirements

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.

  1. Java Development Kit 8 (include JavaFX 8)

  2. MariaDB

  3. Libraries for Java 8:

Compile and run

Follow these steps to compile and run the application correctly:

  1. Initialize Database:

    Run all MariaDB's queries in file ./src/BKChat.sql

  2. Edit Connector:

    Edit file ./src/app/controllers/DBController.java:

    Change db_username and db_password as the user's name and password of MariaDB that you was using to run all queries above.

  3. Run Server:

    Compile and run file ./src/app/socket/ServerMaster.java first.

  4. Run Application:

    Compile and run file ./src/app/socket/Main.java and enjoy!

Known issues

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!