A Production-Grade Dockerized Microservices Architecture
Microservices Architecture — Each service has its own database, Dockerfile, and independent deployment
Docker Compose Orchestration — 14 containers (6 databases + 6 backend + 1 UI + 1 gateway)
Multi-Stage Docker Builds — Optimized production images with non-root users
PostgreSQL per Service — Database-per-service pattern with seed data and health checks
Nginx API Gateway — Rate limiting (30 req/min API, 5 req/min login), gzip compression
Inter-Service Communication — REST over Docker internal DNS with service discovery
Order Orchestration — Order creation triggers: Inventory reservation → Profile lookup → Shipment creation
JWT Authentication — Bcrypt password hashing + JWT tokens
Inventory Transactions — Row-level locking to prevent race conditions
React SPA — Modern UI with Tailwind CSS, routing, cart, auth context