Hotel Reservation and Payment System (HRPS) for SC2002 Project
Folder structure of our project
.
├── build # Compiled jar file
├── docs # Javadocs generated as html
├── src # Source files (all the codes)
├── LICENSE
└── README.md
.
├── ...
├── src # Source files (all the codes)
│ ├── controller # Managers classes
│ ├── database # Database classes
│ ├── helper # Helper classes
│ ├── model # Model classes
│ ├── view # View/Interface classes
│ └── HotelApp.java # Main Driver file (HRPS App)
└── ...
How to run our project
- In your command line change directory into SC2002_HRPS
D:\uni_tute\sc2002_java\Project\SC2002_HRPS>
- Run the jar file using command line
java -jar ./build/SC2002_HRPS.jar
- Reset our database first before using our interface, steps are as follows
╔═════════════════════════════════════════════════════════════════╗
║ Hotel App View ║
╚═════════════════════════════════════════════════════════════════╝
What would you like to do ?
(1) Manage Guest
(2) Manage Room
(3) Manage Reservation
(4) Manage Orders
(5) Manage Hotel Menu
(6) Manage Check In / Check Out
(7) Manage Promotion Details
(8) Manage Invoices
(9) Manage Database
(10) Exit HRPS
Press "9" then <ENTER>
╔═════════════════════════════════════════════════════════════════╗
║ Hotel App View > Database View ║
╚═════════════════════════════════════════════════════════════════╝
What would you like to do ?
(1) Initialize guests
(2) Initialize menu
(3) Reset database
(4) Exit Database View
Press "3" then <ENTER>
╔═════════════════════════════════════════════════════════════════╗
║ Hotel App View > Database View > Reset database ║
╚═════════════════════════════════════════════════════════════════╝
Are you sure you want to reset the database? (yes/no)
Type "yes" then <ENTER>
╔═════════════════════════════════════════════════════════════════╗
║ Hotel App View > Database View > Reset database ║
╚═════════════════════════════════════════════════════════════════╝
Are you sure you want to reset the database? (yes/no)
yes
Database cleared
Press Enter key to continue...
Database is cleared successfully if the above message is shown
Create javadocs - make sure you are at SC2002_HRPS directory
javadoc -d ./docs/ ./src/*java ./src/controller/*java ./src/database/*java ./src/helper/*java ./src/model/*java ./src/model/enums/*java ./src/view/*java -encoding ISO-8859-1
Launch the index.html under ./javadoc/index.html
- @limivann
- @MAXTAN3110
- @kcz358
- @HillSeahWQ
- @lordAaron0121