https://github.com/isaka-mabagala/booking-application-microservices
Spring Boot Booking Microservices Project with Angular 13 frontend (Assignment CSS 311)
https://github.com/isaka-mabagala/booking-application-microservices
java microservices mongodb spring-boot
Last synced: about 1 year ago
JSON representation
Spring Boot Booking Microservices Project with Angular 13 frontend (Assignment CSS 311)
- Host: GitHub
- URL: https://github.com/isaka-mabagala/booking-application-microservices
- Owner: isaka-mabagala
- License: gpl-2.0
- Created: 2023-01-25T01:31:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-27T20:18:44.000Z (about 3 years ago)
- Last Synced: 2025-04-19T19:04:50.895Z (about 1 year ago)
- Topics: java, microservices, mongodb, spring-boot
- Language: Java
- Homepage:
- Size: 1.88 MB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microservice Project (Assignment CSS 311)

A microservice architecture based (hotel room) booking application with Spring Boot Framework (backend) and Angular 13 Framework (frontend). This assignment provided by Mr. Lunodzo Mwinuka to Bachelor of Science in Information Technology and Systems (BSc.ITS) and Bachelor of Science in ICT with Management (BSc.ICT-M) students for Distributed Systems (CSS 311) course at Mzumbe University Morogoro, Tanzania.
### Application Details
- Authentication between services communication used `JWT`
- Email notification tool `MailHog`
- Databases used `MongoDB` and `H2`
- Default booking room price `45000`
- Cards detail for booking transactions
| Card Number | Expiry Date | CVC | Balance |
|:-----------------------|:-------------|:-----|:---------|
| 5161 4800 0276 4486 | 09/23 | 175 | 75000.00 |
| 4107 7342 3815 8180 | 11/23 | 186 | 55000.00 |
### Application Configurations
- Java `17` or later installed
- Node `14` or later installed
- MongoDB installed
- Create database and connect in `application.properties` file
- MailHog email testing tool
### Start using application
- Create an account
- Login to account
- Make booking
- Make booking transaction
- Write a review
## High Level Architecture
The application consists of the following five (5) microservices:
| API url | Service
|:-------------------------|:---------------
| http://127.0.0.1:8080 | Customer Service
| http://127.0.0.1:8081 | Booking Service
| http://127.0.0.1:8082 | Notification Service
| http://127.0.0.1:8083 | Payment Service
| http://127.0.0.1:8084 | Review Service
#### Architecture Diagram -

## Logic Flow
### Making a new booking -

### Making booking transaction -

### Write a review -

## Future Enhancements
1. Provide single start-up script to bring up all the services
2. Implement API gateway and load balancer
## Screenshots








