
Loading…

engineering workspace

Loading…
A Spring Boot microservices platform powering a booking marketplace for Sri Lankan hotels, villas and homestays across three Next.js 16 frontends: guest website, hotel partner portal and admin console.

One unified platform for guests, hotel owners and admins — handling live availability, rate cards, cart checkout, bank-transfer slip upload and pay-at-property payments, partner billing and commissions, and SMS/WhatsApp OTP sign-in.
We engineered 8 independently deployable Spring Boot 4 microservices (Java 21) behind Nginx TLS and Spring Cloud Gateway, each owning its own MySQL database with Flyway migrations — combining Spring Data JPA for writes with MyBatis XML mappers for filter-heavy stay search, RabbitMQ domain events for asynchronous side effects, Quartz for durable email outbox and scheduled monthly billing runs, and multi-stage Docker images published to GHCR via GitHub Actions.
Spring Security with JWT, STATELESS session policy and method-level @PreAuthorize checks on every partner and admin endpoint, including menu-level admin permissions.
Each domain service owns its own MySQL schema — using Spring Data JPA for aggregates and writes alongside MyBatis XML mappers for filter-heavy stay search (location, dates, categories, amenities, stars).
Flyway versioned migrations run automatically on startup alongside Hibernate schema validation, so a service never boots against a database schema it does not match.
RabbitMQ domain events (BookingCreated, BookingCancelled, PaymentVerified, PropertyApproved, InvoiceIssued) plus Quartz durable email outbox and @Scheduled monthly partner billing keep checkout fast.
Reactive WebClient adapters for Twilio, Text.lk and WhatsApp OTP & booking alerts, each isolated behind its own clean notification adapter.
Property photos and payment slips are resized asynchronously with Thumbnailator into thumb/md/lg variants; deployed via multi-stage Docker images on GHCR, GitHub Actions, Actuator health checks and Nginx TLS.
Tell us about it. We'll reply within one business day with next steps — no obligation.