From f002b10c4a0418d525c258518c849842d2f00950 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 12 May 2026 18:49:30 +0000 Subject: [PATCH] docs(backend): autonomous architectural standardization for backend Co-authored-by: beginwebdev2002 <102213457+beginwebdev2002@users.noreply.github.com> --- backend/readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backend/readme.md b/backend/readme.md index e4d22e1..5991f10 100644 --- a/backend/readme.md +++ b/backend/readme.md @@ -25,6 +25,16 @@ last_updated: 2026-03-22 --- ## Architecture Principles +```mermaid +graph TD + A["Client HTTP Request"] --> B["API Gateway / Controller Layer"] + B --> C["Service Layer (Business Logic)"] + C --> D["Data Access Layer (Repository / DTO mapping)"] + D --> E[("Primary Database (PostgreSQL/MongoDB)")] + C -.-> F["Message Broker (Kafka/RabbitMQ)"] + C -.-> G[("Cache (Redis)")] +``` + - Adhere to the defined [Architectural Patterns](../../architectures/readme.md) when building applications, specifically Hexagonal Architecture / Clean Architecture. - Avoid tightly coupling business domains to framework-specific libraries. ## Technical Requirements for AI Generation