Giter VIP home page Giter VIP logo

chrislaskos / gamestore Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 9.0 8.02 MB

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.

Java 98.40% CSS 1.60%
java java-fx javafx-project fxml css mysql-database jdbc jdbc-connector inno-setup cross-platform video-games e-store

gamestore's Introduction

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!

gamestore's People

Contributors

chrislaskos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.