← Back to portfolio

E-commerce Microservices Platform

A modular e-commerce platform built with a microservice architecture where each service is independent and can be scaled individually. The system handles products, orders, users and payments through separate services that communicate via REST APIs. It also includes AI-generated horoscopes as a digital product with PDF generation.

Technical overview

Architecture & integrations

The project follows microservice principles where each service has its own responsibility and database. Services communicate via REST APIs and can be deployed and scaled independently of one another.

Screenshots

Key features

Microservice architecture

Each service is fully independent with its own database (H2 for development) and can be deployed separately. This gives the flexibility to scale specific parts of the system based on load.

Lessons

This project gave me a deep understanding of microservice architecture and the challenges that come with distributed systems. Designing API contracts between services, handling service-to-service communication and ensuring data consistency across service boundaries requires careful planning. Implementing JWT-based authentication shared across all services taught me the importance of centralised user management and secure token validation.

Working with Stripe webhooks taught me the importance of idempotency and secure webhook validation to avoid double charges. The Docker Compose configuration made it possible to run the whole system locally with realistic network conditions, which sped up development considerably.