The Fastfood Ordering and Management System (FOMS) Application enhances fast food restaurant operations by facilitating menu management, order placement, and payment processing. It provides real-time order tracking for customers and allows staff and managers to efficiently handle orders and menu updates. Additionally, admins can oversee company and staff management. This README file provides detailed instructions on how to clone, compile, and run the application, ensuring users can easily set up and navigate the system.
UML Class Diagram | Report | JavaDocs
Name | GitHub Account |
---|---|
Sally Ngui Yu Ying | acrylicruler |
Shingamu Sai Ajay | Sai-Ajay |
Zhang Xinyang | thenewgoat |
Shen Jia Cheng | shenjc01 |
Sharanya Basu | SHAR0094 |
These setup instructions will guide you through the process of cloning the repository, navigating to the cloned repository, compiling the project, and running the project in your terminal.
-
Open your terminal
-
Clone the repository by entering the following command:
git clone https://github.com/Sai-Ajay/SC2002-OOP-FOMS-2.0.git
-
Navigate to the cloned repository by entering the following command:
cd SC2002-OOP-FOMS-2.0
-
Compile the project by entering the following command:
javac -cp foms/src -d bin foms/src/main/FomsApp.java
-
Run the project by entering the following command:
java -cp bin main.FomsApp
Congratulations, you have successfully cloned, compiled, and run the FOMS project!
Follow the steps below to generate JavaDocs using the terminal:
-
Open your terminal.
-
Navigate to the root directory of the project. Or enter the following command.
cd SC2002-OOP-FOMS-2.0/foms/src
-
Run the following command in the terminal:
javadoc -d ../docs -author -private -noqualifier all -version "controllers" "enums" "interfaces" "main" "models" "services" "stores" "test" "utils" "utils.exceptions" "views"
This command will generate the JavaDocs and save them in the docs directory in HTML format.
-
Navigate to the docs directory using the following command:
cd ../docs
-
Open the index.html file in a web browser to view the generated JavaDocs.
Congratulations, you have successfully created and viewed the JavaDocs.
The data files used for system initialisation can be found in foms/data. 3 CSV files are used for initialisation:
-
Contains full list of all staff, managers and admin.
-
Contains full list of all initial branches.
-
Contains full list of all initial menu items and the respective branches where they can be found.
In this section you can find some of the login credentials for users with different roles. The full list of usernames is available in foms/data/staff_list.csv, and the password defaults to 'password' for first login.
# Staff
USERID: MaryL
PASSWORD: password
# Manager
USERID: TomC
PASSWORD: password
# Admin
USERID: boss
PASSWORD: password