%%{init: {'theme': 'base', 'themeVariables': {'background': '#282828','primaryColor': '#3c3836','primaryTextColor': '#fbf1c7','primaryBorderColor': '#fabd2f','lineColor': '#83a598'}}}%% flowchart LR A[ClientAngular/Postman] --> B[HTTP Requestคำขอ] B --> C[Routeเลือก endpoint] C --> D[Middlewareตรวจข้อมูล] D --> E[Controllerจัดการคำสั่ง] E --> F[ServiceBusiness Logic] F --> G[Data Sourceฐานข้อมูล/API] G --> F F --> H[HTTP ResponseJSON] H --> A
%%{init: {'theme': 'base', 'themeVariables': {'background': '#282828','primaryColor': '#3c3836','primaryTextColor': '#fbf1c7','primaryBorderColor': '#fabd2f','lineColor': '#b8bb26'}}}%% flowchart LR A[Requestคำขอ] --> B[Loggerบันทึก] B --> C[JSON Parserอ่าน body] C --> D[Validationตรวจข้อมูล] D --> E[Route Handlerทำงานหลัก] E --> F[Responseผลลัพธ์]
%%{init: {'theme': 'base', 'themeVariables': {'background': '#282828','primaryColor': '#3c3836','primaryTextColor': '#fbf1c7','primaryBorderColor': '#fabd2f','lineColor': '#d3869b'}}}%% flowchart LR A[HTTP Inรับ endpoint] --> B[Functionเตรียมข้อมูล] B --> C[Database/API Nodeเชื่อมข้อมูล] C --> D[HTTP Responseส่งผลลัพธ์]