Featured System
BookStore Microservices Platform
A scalable e-commerce platform built as independently deployable Spring Boot services, with JWT at the edge, OpenFeign for synchronous calls, and Kafka for domain events.
Problem
A monolith cannot isolate auth, catalog-adjacent user data, order lifecycle, payments, notifications, and analytics without coupling release cycles and failure domains.
Solution
Split the platform into focused services behind an API gateway. Keep request/response paths synchronous where consistency is required, and publish domain events so payment, notification, and analytics can proceed independently.
Decisions
Sync where the order cannot be accepted without a consistent read. Async where Stripe, notifications, and analytics would otherwise sit on the checkout thread.
Architecture notes
- Independent microservices for authentication, users, orders, payments, notifications, and analytics.
- Kafka-based event-driven communication for post-order side effects.
- OpenFeign for synchronous service-to-service interactions.
- Stripe for payment processing.
- JWT-based authentication and authorization.
- Containerized with Docker and designed as a cloud-ready AWS deployment, with room for Kubernetes and monitoring.