From c0c28247577abcf5889493eb1c2630de16ba295c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Trkan?= Date: Thu, 18 Sep 2025 13:31:08 +0200 Subject: [PATCH] feat(design): add system diagram, update project info --- design.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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