sc2002_hrps
所属分类:Web商城
开发工具:Java
文件大小:6454KB
下载次数:0
上传日期:2022-08-11 05:27:49
上 传 者:
sh-1993
说明: SC2002项目酒店预订和支付系统(HRPS)
(Hotel Reservation and Payment System (HRPS) for SC2002 Project)
文件列表:
.classpath (220, 2022-08-11)
.project (665, 2022-08-11)
LICENSE (1065, 2022-08-11)
build (0, 2022-08-11)
build\SC2002_HRPS.jar (5963102, 2022-08-11)
docs (0, 2022-08-11)
docs\allclasses-index.html (21086, 2022-08-11)
docs\allclasses.html (4871, 2022-08-11)
docs\allpackages-index.html (5699, 2022-08-11)
docs\constant-values.html (5318, 2022-08-11)
docs\deprecated-list.html (4273, 2022-08-11)
docs\element-list (78, 2022-08-11)
docs\help-doc.html (9546, 2022-08-11)
docs\index-all.html (153176, 2022-08-11)
docs\index.html (5575, 2022-08-11)
docs\jquery (0, 2022-08-11)
docs\jquery\external (0, 2022-08-11)
docs\jquery\external\jquery (0, 2022-08-11)
docs\jquery\external\jquery\jquery.js (280363, 2022-08-11)
docs\jquery\images (0, 2022-08-11)
docs\jquery\images\ui-bg_glass_55_fbf9ee_1x400.png (335, 2022-08-11)
docs\jquery\images\ui-bg_glass_65_dadada_1x400.png (262, 2022-08-11)
docs\jquery\images\ui-bg_glass_75_dadada_1x400.png (262, 2022-08-11)
docs\jquery\images\ui-bg_glass_75_e6e6e6_1x400.png (262, 2022-08-11)
docs\jquery\images\ui-bg_glass_95_fef1ec_1x400.png (332, 2022-08-11)
docs\jquery\images\ui-bg_highlight-soft_75_cccccc_1x100.png (280, 2022-08-11)
docs\jquery\images\ui-icons_222222_256x240.png (6922, 2022-08-11)
docs\jquery\images\ui-icons_2e83ff_256x240.png (4549, 2022-08-11)
docs\jquery\images\ui-icons_454545_256x240.png (6992, 2022-08-11)
docs\jquery\images\ui-icons_888888_256x240.png (6999, 2022-08-11)
docs\jquery\images\ui-icons_cd0a0a_256x240.png (4549, 2022-08-11)
docs\jquery\jquery-3.5.1.js (287630, 2022-08-11)
docs\jquery\jquery-ui.css (20275, 2022-08-11)
docs\jquery\jquery-ui.js (71563, 2022-08-11)
docs\jquery\jquery-ui.min.css (17416, 2022-08-11)
docs\jquery\jquery-ui.min.js (32162, 2022-08-11)
docs\jquery\jquery-ui.structure.css (2555, 2022-08-11)
... ...
# SC2002_HRPS
Hotel Reservation and Payment System (HRPS) for SC2002 Project
![HRPS preview](https://user-images.githubusercontent.com/71662324/184069519-65655f28-5b8d-4481-905a-38efbd3840ba.PNG)
# Setup Instructions
## Project Folder Structure
> Folder structure of our project
#### Top Level Directory Layout
```terminal
.
├── build # Compiled jar file
├── docs # Javadocs generated as html
├── src # Source files (all the codes)
├── LICENSE
└── README.md
```
#### Source files
```terminal
.
├── ...
├── 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)
└── ...
```
## Scripts
> How to run our project
1. In your command line change directory into SC2002_HRPS
```terminal
D:\uni_tute\sc2002_java\Project\SC2002_HRPS>
```
2. Run the jar file using command line
```terminal
java -jar ./build/SC2002_HRPS.jar
```
3. Reset our database first before using our interface, steps are as follows
```terminal
╔═════════════════════════════════════════════════════════════════╗
║ 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 `
```terminal
╔═════════════════════════════════════════════════════════════════╗
║ 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 `
```terminal
╔═════════════════════════════════════════════════════════════════╗
║ Hotel App View > Database View > Reset database ║
╚═════════════════════════════════════════════════════════════════╝
Are you sure you want to reset the database? (yes/no)
```
`Type "yes" then `
```terminal
╔═════════════════════════════════════════════════════════════════╗
║ 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`
# Java docs
Create javadocs - make sure you are at SC2002_HRPS directory
```terminal
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
# Contributors
- @limivann
- @MAXTAN3110
- @kcz358
- @HillSeahWQ
- @lordAaron0121
近期下载者:
相关文件:
收藏者: