Management API
Create, list, inspect, and deactivate coupons. The service owns the source of truth and publishes coupon change events.
POST /api/v1/coupons
Cuponomia Microservices
A Java and Spring Boot portfolio project demonstrating independent databases, Kafka event propagation, domain rules, local projections, Swagger examples, and reviewer-friendly documentation.
Target URL: cuponomia.maxsueleinstein.dev
Create, list, inspect, and deactivate coupons. The service owns the source of truth and publishes coupon change events.
POST /api/v1/coupons
Applies coupons during checkout using its own local projection, keeping the checkout path isolated from management writes.
POST /api/v1/checkout/apply-coupon
Run the stack locally, open each service root URL, follow the Swagger examples, and test success plus failure scenarios.
MAX50 / EXPIRADO20 / INATIVO30
Demo path
docker compose up --build.http://localhost:8081/.http://localhost:8082/.MAX50 with order total 16000.00.