This project is a web development project aimed at creating a hotel management system. It includes backend development using Spring Boot and frontend development with HTML, CSS and JS.
hotel-management-system
├── src
│ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── otu
│ │ │ │ │ ├── model
│ │ │ │ │ │ ├── Customer.java
│ │ │ │ │ │ ├── Room.java
│ │ │ │ │ │ ├── Booking.java
│ │ │ │ │ │ └── ProvidedService.java
│ │ │ │ │ ├── repository
│ │ │ │ │ │ ├── CustomerRepository.java
│ │ │ │ │ │ ├── RoomRepository.java
│ │ │ │ │ │ ├── BookingRepository.java
│ │ │ │ │ │ └── ProvidedServiceRepository.java
│ │ │ │ │ ├── service
│ │ │ │ │ │ ├── CustomerService.java
│ │ │ │ │ │ ├── RoomService.java
│ │ │ │ │ │ ├── BookingService.java
│ │ │ │ │ │ └── ProvidedServiceService.java
│ │ │ │ │ └── controller
│ │ │ │ │ ├── CustomerController.java
│ │ │ │ │ ├── RoomController.java
│ │ │ │ │ ├── BookingController.java
│ │ │ │ │ └── ProvidedServiceController.java
│ │ └── resources
│ │ │ ├── application.properties
│ │ │ ├── static
│ │ │ │ └── style.css
│ │ │ └── templates
│ │ │ │ ├── customers.html
│ │ │ │ ├── rooms.html
│ │ │ │ ├── bookings.html
│ │ │ │ └── services.html
│ └── test
│ │ └── java
│ │ │ └── com
│ │ │ │ └── otu
│ │ │ │ │ └── hotel_management_system
│ │ │ │ │ │ └── ApplicationTest.java
└── pom.xml
- Backend Framework: Spring Boot
- Database: H2
- ORM: Spring Data JPA
- Frontend: HTML, CSS, JS
- Build Tool: Maven
- Java Version: 8 or above
To run the project:
- Clone the repository.
- Import the project into your IDE (e.g., Eclipse or IntelliJ IDEA).
- Ensure you have Maven installed and configured.
- Run the
Application.java
class to start the Spring Boot application. - Access the application in your web browser using the provided URLs.
The frontend development includes a structure for managing customers, rooms, bookings, and services. The style.css
file in the static
directory contains CSS styles for consistent styling across the application.
The backend development consists of model classes representing entities in the application, Spring Data JPA repositories for data access, service classes for business logic, and controllers to handle HTTP requests and responses.
Submit your project as a .zip
file containing the entire Spring Boot project structure. Ensure your project follows the specified guidelines and includes a README.md file with instructions on how to run the project.