Skip to content

About

Data base app code repository as a result of an assignment.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Sample Java SQL database app.

This repo provides an app that was requested by our university (unipi, see https://www.unipi.gr) for an end-term assignment of a databases course of Digital Systems department.

This app was developed with several abstractions in mind, and it is packed with an intuitive UI experience with JavaFX. For the database side, the current SQL code making the database functional is written in MySQL, and is also provided to the repo root folder.

We decided to develop and post this assignment here on GitHub as a project, to stand as a reference project for any students having a similar assignment on Java, JavaFX, and SQL databases, and everyone who has curiosity around the app's code.

Caution

For any academic students, do not attempt to copy parts of this assignment solution. This repo is only provided for reference and learning reasons. Doing otherwise would put in risk your grade.

Additionally, we have decided that we want to continue development of this app, outside the assignment boundaries.

External contributions are also welcome through PR's. We will post contributing guidelines and will construct better the repo soon.

Note that the authors are the only ones that can directly push to the repo without a PR.

About the app

The app is a Gym Booking Management System. The system includes as core components

  • Gyms
  • Coaches
  • Customers
  • Sessions
  • Bookings
  • Payments

The app lets the user to add, update and delete the above entries.

Each Coach works on only 1 Gym.

Bookings are made for a customer in a specific session, on a specific datetime. Bookings have 3 statuses:

  1. Completed, when it has been payed
  2. On Hold, when it has not been payed
  3. Canceled

Only On Hold Bookings can be updated. The only things that can be updated is their status.

Warning

Bookings that have not been payed up until 24 hours before their start are automatically marked as Canceled.

Each Payment is associated with a Booking. Payments have 2 statues:

  1. Confirmed, when the payment is done (Completed Booking)
  2. Pending, when the payment (On Hold Booking)

Note

Canceled Bookings do not have Payments.

About

Data base app code repository as a result of an assignment.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages