E-commerce microservices
FreeSystem map@rabbinatix/ecommerce-architecture by Rabbinatixupdated Oct 13, 2026
A shop split into services behind an API gateway: auth, catalog, cart, orders and payments, with Stripe for cards.
8 systems and 19 APIs. Every API is declared on both sides, so every contract starts healthy. Rename or change anything once it is on your map.
10 connections · 19 APIs
- Storefront → API Gateway
POST /api/v1/auth/registerCreate an accountPOST /api/v1/auth/loginLog in with email and passwordPOST /api/v1/auth/logoutLog outGET /api/v1/productsBrowse productsPOST /api/v1/cart/itemsAdd to cartPOST /api/v1/checkoutPlace the orderGET /api/v1/orders/{id}Track an order
- API Gateway → Auth Service
POST /internal/v1/auth/registerCreate an accountPOST /internal/v1/auth/loginLog in with email and passwordPOST /internal/v1/auth/logoutLog outPOST /internal/v1/tokens/verifyCheck a token
- API Gateway → Catalog Service
GET /internal/v1/productsProductsGET /internal/v1/products/{id}One product
- Cart Service → Catalog Service
GET /internal/v1/products/{id}One product
- Orders Service → Catalog Service
GET /internal/v1/products/{id}One product
- API Gateway → Cart Service
POST /internal/v1/carts/{userId}/itemsAdd to a user’s cart
- Orders Service → Cart Service
GET /internal/v1/carts/{userId}A user’s cart
- API Gateway → Orders Service
POST /internal/v1/ordersCreate an order from the cartGET /internal/v1/orders/{id}One order
- Orders Service → Payments Service
POST /internal/v1/paymentsCharge for an order
- Payments Service → Stripe
POST /v1/payment_intentsCreate a payment
Systems (8)
Storefront
The online shop.
API Gateway
One front door: routes calls and checks tokens.
Auth Service
Accounts and tokens.
Catalog Service
Products and prices.
Cart Service
Shopping carts.
Orders Service
Places and tracks orders.
Payments Service
Takes payment for an order.
Stripe
Card payments.
A system you already have under the same name is used, not copied. Outside APIs don't count towards your plan.
Also as a flow
Also as a whiteboard
Versions
