|
1 | 1 | # Hotel Management System |
2 | 2 |
|
| 3 | +Created by [Sparsh Agarwal](https://github.com/sparshagarwal25 "Sparsh Agarwal"), [Raghav Goyal](https://github.com/RaghavGoyal12301 "Raghav Goyal"), Vineet Sharma, Priya Kaushik |
| 4 | + |
| 5 | +[GitHub Link](https://github.com/sparshagarwal25/HotelManagementSystem "Hotel Management System") |
| 6 | + |
| 7 | +## About |
| 8 | + |
3 | 9 | In this project we will make a Java Swing GUI software for Hotel Management. |
4 | 10 | In which the |
5 | 11 | - User can - |
6 | 12 | - Make Account |
7 | 13 | - Login |
8 | 14 | - Book Room |
| 15 | + - Book Services |
| 16 | + - Make Complaints |
9 | 17 | - Checkout |
| 18 | + - Leave Feedback |
10 | 19 | - Admin can - |
11 | 20 | - Login |
| 21 | + - See Customer Details |
| 22 | + - Respond to Customer Complaints |
12 | 23 | - See Report |
| 24 | + - See Feedback |
13 | 25 | - Everyone can - |
14 | 26 | - See Hotel Info |
15 | 27 | - See Room Info |
16 | 28 | - See About Software |
17 | 29 |
|
18 | | -## DataBase Information |
| 30 | +## Installation Instructions |
| 31 | + |
| 32 | +### Prerequisites |
| 33 | + |
| 34 | +- JDK 1.8 + Java 13 installed (if not follow this [instruction](https://docs.oracle.com/en/java/javase/13/install/installation-jdk-microsoft-windows-platforms.html#GUID-A7E27B90-A28D-4237-9383-A58B416071CA)) |
| 35 | +- Apache NetBeans 11.3 (download from this [link](https://netbeans.apache.org/download/index.html)) |
| 36 | + |
| 37 | + |
19 | 38 |
|
20 | | -#### User Database |
21 | | - |
22 | | -One more Column will be added to the user Database , i.e., ROOM |
23 | | - Name - ROOM |
24 | | - Type - Varchar |
25 | | - Size - 40 |
26 | | - Null - Allowed |
| 39 | +### Steps |
27 | 40 |
|
28 | | -#### Admin Database |
29 | | - |
| 41 | +Now that we have all the above things resolved we can import our Project. |
30 | 42 |
|
| 43 | +1. Extract the Project Folder. |
| 44 | +2. Open NetBeans. |
| 45 | +3. Go to Services Tab and open Databases tab. |
| 46 | +4. Right Click on Java DB option and select Properties. |
| 47 | +5. In the Java DB installation select the derby.jar file from the Libraries Folder. |
| 48 | +6. Now in the Database location option select the path where you want to save the database. |
| 49 | +7. Select OK. |
| 50 | +8. Now right click on Java DB and select create a New Database. |
| 51 | +9. Name the Database as "HMSdb", Username as "user01", Password as "pass01". |
| 52 | +10. Click OK. |
| 53 | +11. You can now see a new Database created. |
| 54 | +12. Go to the above selected path and replace the HMSdb folder with the HMSdb folder provided in the Database folder in the Project Folder. |
| 55 | +13. Now go to Projects tab. |
| 56 | +14. Click on File Tab in Toolbar and select open project. |
| 57 | +15. Select the location of HotelManagementSystem Folder in the Project Folder and select OK. |
| 58 | +16. Now you can see a new Project opened in the Projects Tab. |
| 59 | +17. Now Right click on the Libraries option in the Project Folder and select "Add JAR/Folder". |
| 60 | +18. Now select all the files in the Libraries Folder provided in the Project Folder. |
| 61 | +19. Now open the DBConnect.java file in package named OTHER. |
| 62 | +20. In the Java file confirm the url, user and password (line 30, 31 and 32 respectively) with the details filled when creating Database. |
| 63 | +21. Now open MailSender.java file and enter the email id and password of the gmail account you want to use to send the mails. |
| 64 | +22. Now go to this [link](https://www.google.com/settings/security/lesssecureapps) and turn "Allow less secure apps" option ON (Use the same Gmail Id as above). |
| 65 | +23. Click on Build and Clean option in toolbar. |
| 66 | +24. Now you can run the project from toolbar. |
31 | 67 |
|
32 | | -Finally |
33 | | -Just Remember |
34 | | -> I can do it. The tougher it gets, the Cooler I get. |
35 | | -> - Richard M. Nixon |
| 68 | +Enjoy ;-) |
0 commit comments