A simple Messaging App that I developed to practice my knowledge on:
- Java FX
- Python
- Database Connectivity
- Encryption with C++
- Creating an account
- Add other users from the database
- Exchange messages with your contacts
- After running the App:
- If you already have an account
- Login using your credentials
- If you use the app for the first time
- Register by pressing the "Register" button
- Create a unique username and a secure password
- Press the "Back to Login" button to return to Login Page
- Login using your newly created credentials
- If you already have an account
- After connecting to your account you can:
- Add other users using the search bar on the top left (make sure to type the correct username)
- Select contacts
- Send messages
Navigate to the project folder in bash
- Java:
sudo apt update
sudo apt install openjdk-21-jdk
- Python:
sudo apt update
sudo apt install python3Install pip
sudo apt install python3-pipCreate a virtual environment
sudo apt install python3-venv
python3 -m venv env_test
source env_test/bin/activateInstall Flask
pip install FlaskInstall Flask-Cors
pip install Flask-Cors- Download JavaFX from GLUON
- Extract the zip
- Copy the path to the lib folder
- Write the following command with
Path_to_javafx-sdk-23.0.2/libbeeing the path to the lib folder of the JavaFX extracted zip file
export PATH_TO_FX=Path_to_javafx-sdk-23.0.2/libwget https://repo1.maven.org/maven2/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar -P ~/Desktop/JavaFXApplication2/lib/~/Desktop/JavaFXApplication2/lib/: location of cloned project
cd srcjavac --module-path /home/user/Downloads/openjfx-23.0.2_linux-x64_bin-sdk/javafx-sdk-23.0.2/lib
--add-modules javafx.controls,javafx.fxml,javafx.media
-cp ~/Desktop/JavaFXApplication2/lib/gson-2.10.1.jar
javafxapplication2/*.java-
/home/user/Downloads/openjfx-23.0.2_linux-x64_bin-sdk/javafx-sdk-23.0.2/lib:- Exact Path to the downloaded (and extracted) Javafx File
-
~/Desktop/JavaFXApplication2/lib/gson-2.10.1.jar:- Exact Path to the downloaded gson jar
java --module-path /home/user/Downloads/openjfx-23.0.2_linux-x64_bin-sdk/javafx-sdk-23.0.2/lib \
--add-modules javafx.controls,javafx.fxml,javafx.media \
-cp ".:/home/user/Desktop/JavaFXApplication2/lib/gson-2.10.1.jar" \
javafxapplication2.JavaFXApplication2


