How to read this wiki
Sections
| Section |
What it answers |
| Architecture |
Which containers exist, which ports they use, how a request is routed, how users and services authenticate |
| Business flows |
What happens, step by step, when a customer signs up, shops, pays, gets a parcel or returns it; the exact endpoints and rules |
| Operations |
How to run, deploy, observe, back up and debug the stack |
| For testers |
Ready-made test ideas per feature |
| Glossary |
Short definitions of the domain and infrastructure terms |
| Reference |
Detailed contracts, runbooks and release history |
Sources of truth
The wiki is written from the real code and configuration. When the wiki and a
source disagree, the source wins:
| Topic |
Source |
| Compose services, ports, memory limits |
lightweight-docker-compose.yml, docker-compose.yml, docker-compose.server.yml in awesome-localstack |
| Gateway routes |
nginx/conf.d/lightweight-app-gateway.conf (local) and nginx/conf.d/app-gateway.conf (server) |
| Deployment |
ansible/ and Ansible |
| Backend rules |
backend-rs/docs/contract/ (REST, protocols, data and config), the original Java backend's test-secure-backend/docs/COMMERCE_AND_FULFILMENT.md (archived) and the OpenAPI document |
| warehouse-service rules |
warehouse-service-rs/README.md and the contract |
| payment-service rules |
payment-service-rs/README.md and the contract |
| notification-service rules |
notification-service-rs/README.md and the contract |
| delivery-service rules |
delivery-service-rs/README.md and the contract |
| llm-service rules |
llm-service-rs/README.md and the contract |
| Live API shape |
The OpenAPI documents in Swagger UI |
Conventions
- Paths such as
POST /api/v1/orders are gateway paths: send them to
http://localhost:8081 locally or to the public host.
/internal/v1/... paths are service-to-service only. The gateway answers
404 for /internal/ on every host.
- Money is
BigDecimal with scale 2, rounded half-up. The base currency is
USD.
- Diagrams are Mermaid; they render in light and dark mode. Use the search box
(/ or S) to jump to an endpoint or term.