Back to Projects

E-Commerce Microservices Portfolio

Java
Spring Boot
MySQL
Kafka
Redis
JWT
Eureka

“Building backend systems with clarity, strategy, and craftsmanship — inspired by Krishna’s wisdom: calm, strategic, and precise in every action.”

High-Level Architecture

A world-class microservices architecture:

                  ┌─────────────────────┐
                  │  API Gateway Service │
                  └─────────┬───────────┘
                            │
        ┌───────────────────┼───────────────────┐
        │                   │                   │
┌───────────────┐   ┌───────────────┐   ┌───────────────┐
│ Product       │   │ User Service  │   │ Payment       │
│ Service       │   │               │   │ Service       │
└─────┬─────────┘   └─────┬─────────┘   └─────┬─────────┘
      │                   │                   │
      ▼                   ▼                   ▼
  ┌──────────┐       ┌──────────┐       ┌──────────┐
  │  MySQL / │       │  MySQL / │       │  MySQL / │
  │    H2    │       │    H2    │       │    H2    │
  └──────────┘       └──────────┘       └──────────┘
                            │
                            ▼
                  ┌─────────────────────┐
                  │ Email Notification  │
                  │ Service             │
                  └─────────────────────┘
            
  • Service Discovery (Eureka) monitors all services.
  • Kafka handles event-driven workflows.
  • API Gateway: Centralized entry point routing requests seamlessly
  • Service Discovery: Dynamic microservice lookup with Eureka
  • Product Service: Advanced product & category management
  • User Service: Authentication & Authorization using JWT + RBAC
  • Payment Service: Payment lifecycle management using Strategy + Factory patterns
  • Email Service: Event-driven notifications for real-time updates

Key Highlights

  • Architectural Excellence: Layered design (Controller → Service → Repository), DTO-first, and robust exception handling.
  • Design Patterns Applied: Strategy + Factory (Payment), Event-Driven (Email), RBAC + JWT (User), and Microservices Orchestration (Eureka + API Gateway).
  • Recruiter-Friendly: Demonstrates scalable, maintainable, production-ready microservices.
View on GitHub