diff --git a/design.md b/design.md index d6d2385..75d1e15 100644 --- a/design.md +++ b/design.md @@ -40,12 +40,16 @@ High-level architecture, main components, interactions, and data flow. Include a ```mermaid flowchart LR - client[Client/UI] --> api[API Gateway / Web Server] - api --> svc1[Service A] - api --> svc2[Service B] - svc1 --> db[(Database)] - svc2 --> cache[(Cache)] - svc2 --> ext[(External API)] + proc_queue[Message Queue] --> proc_queue_worker[Worker Service] + proc_queue_worker --> ext_mail[(Email Service)] + proc_cron[Task planner] --> proc_queue + proc_queue_worker --> ext_bank[(Bank API)] + proc_queue_worker --> db + client[Client/UI] --> api[API Gateway / Web Server] + api --> svc[Web API] + svc --> proc_queue + svc --> db[(Database)] + svc --> cache[(Cache)] ``` - Components and responsibilities: What does each box do? @@ -89,8 +93,8 @@ Notes: Describe the deployment strategy and infrastructure requirements. -- Environments: dev / staging / prod (if applicable). -- Runtime platform: Docker, Compose, Kubernetes, serverless, PaaS. +- Environments: prod, local dev +- Runtime platform: Kubernetes - Infrastructure diagram (optional): ```mermaid