Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit b5239a6

Browse files
authored
Update README.md
1 parent 412ca0b commit b5239a6

File tree

1 file changed

+47
-14
lines changed

1 file changed

+47
-14
lines changed

README.md

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,68 @@
11
# Hotel Management System
22

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+
39
In this project we will make a Java Swing GUI software for Hotel Management.
410
In which the
511
- User can -
612
- Make Account
713
- Login
814
- Book Room
15+
- Book Services
16+
- Make Complaints
917
- Checkout
18+
- Leave Feedback
1019
- Admin can -
1120
- Login
21+
- See Customer Details
22+
- Respond to Customer Complaints
1223
- See Report
24+
- See Feedback
1325
- Everyone can -
1426
- See Hotel Info
1527
- See Room Info
1628
- See About Software
1729

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+
1938

20-
#### User Database
21-
![Image of User Database Colums](https://github.com/sparshagarwal25/HotelManagementSystem/blob/master/Database%20Setup/User%20Database.png)
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
2740

28-
#### Admin Database
29-
![Image of User Database Colums](https://github.com/sparshagarwal25/HotelManagementSystem/blob/master/Database%20Setup/Admin%20Database.png)
41+
Now that we have all the above things resolved we can import our Project.
3042

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.
3167

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

Comments
 (0)