/JavaProject

Pizza ordering system using JavaFx

Primary LanguageJava

Pizza shop Ordering System

Description:

This app is created in Java programming language. For the GUI we have used Scene Builder and JavaFX library. Moreover, it uses MySQL to save the order list in the database.

Software Requirements:

JavaFX SDK 11.0.2 - https://openjfx.io/
Scene Builder 11.0.0 - https://gluonhq.com/products/scene-builder/
IntelliJ IDEA - https://www.jetbrains.com/idea/
Instruction to set up - https://openjfx.io/openjfx/docs/#introduction
For VM options: --module-path ${PATH_TO_JAVAFX} --add-modules javafx.controls,javafx.fxml ;${PATH_TO_JAVAFX} - path to JavaFX library
Mariadb connector which in the requirements folder.

Functions:

It is a pizza shop order management system that takes order from the user and save the order history in the database. Furthermore, it can also calculate the overall sales using the orders which have been saved in the database.

App Screenshots:

Installation

  • First we should have a IDE that will work like Intellij Idea along with XAMMP (APPACHE and SQL).
  • Run Apache and SQL with XAMMP and create Database Name="test", username="user1" and password= "pass1".
  • Connect IDE with Database Name="test", username="user1" and password= "pass1"
  • Add MariaDB Connector file to libraries path.
  • Run the file. It will work if you have setup JavaFX correctly in your IDE
  • List of completed features

    • Can order different kind of pizza of different sizes ( small, medium and large option availiable)
    • User can order fries as well( small, medium and large option available )
    • User can also order drinks, coke and sprite options available ( 500ml or 1.5l )
    • Order button will display the total oders and their cost in the output box
    • Reset Button will reset all the orders
    • Save Button save the data in the database
    • On the Sales Summary, The out put box shows all the sales that had been done
    • Calculate Sales button calculates all the sales
    • Reset Button reset all the saves sales

    List of features yet to implement

    • The database is visible to everyone, It can be visible to only admins/staff. It can be done through creating login systems for customers and adim separately
    • More food items can be added as well
    • Adress/seat number of the customer can also be added, to deliver food in the restaurant