How uygnis/nus-iss-ass-practice-module works
RentEZ is a car-rental platform with five independently deployable Spring Boot services behind a public API gateway. A customer browses the fleet, checks date-range availability, books through reservation, pays through payment, and receives a notification. Staff manage cars and maintenance; admins manage accounts, refunds, and reporting. The README documents service calls, separate schemas, fail-soft dashboard reads, and outbox delivery. Source excerpts show key booking, payment, catalog, auth, maintenance, and notification behavior; other service internals are represented from the documented architecture, not inferred source calls.
Main entry points: accountservice Account service · BookingService.java Reservation service · PaymentService.java Payment service · CarService.java Catalog service
Components 15
Client entry
- Browser / API client
- API gateway
- RentEZ web UI
frontend/src/App.jsx
Accounts
- Account service
services/account-service/src/main/java/org/rentez/accountservice - Auth and JWT
services/account-service/src/main/java/org/rentez/accountservice/service/AuthService.java - Auth schema
Fleet catalog
- Catalog service
services/catalog-service/src/main/java/org/rentez/catalogservice/service/CarService.java - Maintenance
services/catalog-service/src/main/java/org/rentez/catalogservice/service/MaintenanceService.java - Fleet schema
Reservations
- Reservation service
services/reservation-service/src/main/java/org/rentez/reservationservice/service/BookingService.java - Booking schema
Payments
- Payment service
services/payment-service/src/main/java/org/rentez/paymentservice/service/PaymentService.java - Payment schema
Notifications
- Notification service
services/notification-service/src/main/java/org/rentez/notificationservice/service/NotificationService.java - Notification schema
Connections 21
- Browser / API client → API gateway: sends requests
- Browser / API client → RentEZ web UI: uses
- API gateway → Account service: routes accounts
- API gateway → Catalog service: routes catalog
- API gateway → Reservation service: routes reservations
- API gateway → Payment service: routes payments
- API gateway → Notification service: routes notifications
- Account service → Auth and JWT: handles identity
services/account-service/src/main/java/org/rentez/accountservice/service/AuthService.java - Reservation service → Catalog service: fetches car data
services/reservation-service/src/main/java/org/rentez/reservationservice/service/BookingService.java - Payment service → Reservation service: confirms or cancels
- Reservation service → Notification service: delivers outbox
- Payment service → Notification service: delivers outbox
- Account service → Catalog service: reads dashboard stats
- Account service → Reservation service: reads dashboard stats
- Account service → Payment service: reads dashboard stats
- Account service → Auth schema: owns schema
- Catalog service → Fleet schema: owns schema
- Reservation service → Booking schema: owns schema
- Payment service → Payment schema: owns schema
- Notification service → Notification schema: owns schema
- Maintenance → Fleet schema: updates fleet state
services/catalog-service/src/main/java/org/rentez/catalogservice/service/MaintenanceService.java