A made-up online shop: levels 1–3, tables, scenarios and decisions. Select a card to read its properties.
Person
Customer
Picks goods and places orders
Person
Shop manager
Runs the catalog and handles orders
Online shop
Web shop
View (UI)
CartPage
Goods in the cart and their total
View (UI)
CheckoutPage
Address, delivery and payment
State store
CartStore
Client app
Mobile app
Catalog and orders on the phone
Container
api-gateway
Single entry point: tokens, limits
orders-service
API / controller
OrderController
API / controller
PaymentController
Message handler
StockEventsListener
Service
OrderService
Repository
OrderRepository
Adapter
BankClient
Adapter
OrderEventsPublisher
Container
catalog-service
Goods, prices and stock
Scheduled job
nightly-report
Nightly sales report
SQL database
Orders DB
Orders, payments and refunds
NoSQL database
Catalog Mongo
Goods, brands and prices
Cache
Sessions and carts
Sessions and carts of customers
Event topic
order-events
Order events for other services
Queue
notifications
Messages to send to customers
File storage
Media
Product photos
payment-service
API / controller
PaymentController
Adapter
AcquirerClient
Calls the acquiring bank
External system
Acquiring bank
Accepts card payments
External system
SMS gateway
Sends order status messages
Tags
Core domain
2
Legacy
1
Team A
2