The Hotel Reservation Manager is a specialized application created for the Landon Hotel in Toronto, Canada, facilitating hotel reservation management. It employs a Spring Boot Java backend, an Angular frontend, and is tailored for English and French users, incorporating features like currency display and time zone conversion to cater to a diverse clientele.
- Languages Used
- Technologies Used
- Setup and Running the Application
- Features
- Docker Deployment
- License
- Java
- Spring Boot
- Angular
- Maven
- Docker
- Localization and Internationalization with Java Resource Bundles
- Currency Conversion (Frontend Logic)
- Time Zone Conversion (Java Backend Logic)
Ensure Java, Maven, Node.js, and Angular CLI are installed.
- Move to the
UI
folder. - Execute
npm install
to install Angular dependencies. - Run
ng build
andng serve
to start the Angular frontend, accessible atlocalhost:4200
.
- Execute
mvn clean install
andmvn spring-boot:run
to initiate the Spring Boot backend. - Application available at
localhost:8080
.
- Java Resource Bundles for English and French welcome messages, displaying them concurrently via multithreading.
- Angular frontend adapted to showcase reservation costs in USD, CAD, and EUR, independent of backend modifications.
- Java class for time conversion between ET, MT, and UTC.
- REST controller makes the time conversion accessible to the frontend.
- Package the application using
mvn clean package
. - Establish a
Dockerfile
at the project root. - Build and deploy the Docker image, making it available on port
8080
.