/GameStore

An e-store, cross-platform, desktop application where the user can create an account and purchase digital games. Developed with the NetBeans IDE 8.2 using JavaFX. The application runs locally in a XAMPP enviroment. The administration part is handled by the phpMyAdmin tool for the project's database management.

Primary LanguageJava

GameStore

An e-store, cross-platform, desktop application where the user can create an account and purchase digital games. Developed with the NetBeans IDE 8.2 using JavaFX. The application runs locally in a XAMPP enviroment. The administration part is handled by the phpMyAdmin tool for the project's database management. The admin can add, delete and update records that represent users, products and orders in the database.

Note: When a new user registers and enters for the first time the Game Store, an amount of 50,00€ is added to his account due to the complexity of embedding an entire banking system. This project has mostly educational nature as it was also my thesis for the Informatics Engineering department.

Setup Instructions for running the application

  1. Set up your XAMPP enviroment(Apache Server, phpMyAdmin).
  2. Create the gamestore_fx_db schema on the database tool, and import the database from the SQL file, or copy the SQL code.
  3. Download the project of the application and open it in NetBeans.
  4. Connect with the database in the Services tab under MySQL Server(localhost). The MySQL JDBC driver is embedded in the project.
  5. Enter your server properties(Host Name, Port Number, Admin UserName/Password).
  6. Modify the 3 lines of Java code in the following files:
    AccountController.java
    CheckoutController.java
    LibraryController.java
    CustomerQueries.java
    ProductQueries.java
    to match your server properties like this:

private static final String DATABASE_URL = "your_database_url";
private static final String USERNAME = "your_username";
private static final String PASSWORD = "your_password";

Steps to optionally create an executable installer for Windows:
------------------------------------------------------------------------------
Follow this guide to add Inno Setup to the system Path variable and to
package the application in an installer for Windows.

The GameStore app can also run in Linux and MacOS systems, simply by running the .jar file. That is the power of Java!