mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 18:52:56 +00:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
%%{init: {"theme":"forest","securityLevel":"loose","flowchart":{"curve":"linear","useMaxWidth":true,"nodeSpacing":40,"rankSpacing":50},"themeCSS":".edgePath path { stroke-opacity:.6 } .cluster rect { rx:8; ry:8 }" }}%%
|
|
flowchart LR
|
|
|
|
classDef client fill:#f1f5f9,stroke:#334155,color:#0f172a
|
|
classDef fe fill:#fff7ed,stroke:#f59e0b,color:#7c2d12
|
|
classDef be fill:#ecfdf5,stroke:#16a34a,color:#065f46
|
|
classDef db fill:#e3f2fd,stroke:#1e88e5,color:#0c4a6e
|
|
classDef ext fill:#f5f3ff,stroke:#8b5cf6,color:#4c1d95
|
|
classDef stat fill:#e2e8f0,stroke:#475569,color:#111827
|
|
|
|
U(("User Browser"))
|
|
FE["Frontend (React app)"]
|
|
API["Backend API (Go + Gin)<br/>/api/v1"]
|
|
DB[(PostgreSQL DB)]
|
|
STATIC["Static & Uploads<br/>/assets, /uploads"]
|
|
EXT["External Services<br/>(SMTP, Error Receiver, Umami, FACR, Zonerama, YouTube)"]
|
|
|
|
class U client
|
|
class FE fe
|
|
class API be
|
|
class DB db
|
|
class STATIC stat
|
|
class EXT ext
|
|
|
|
U --> FE
|
|
FE ==>|HTTP| API
|
|
API --> DB
|
|
API <-->|read/write| STATIC
|
|
API --> EXT
|
|
|
|
%% Optional: public static reads
|
|
U -.->|static files| STATIC
|