Architecture · Dự án mẫu
Kiến trúc của dự án mẫu
Kiến trúc của dự án mẫu
Client gọi API Gateway YARP, gateway chuyển request tới CRM API (gồm Sales và Notification) hoặc Billing service. CRM API gửi sự kiện qua RabbitMQ cho Billing; nhà thanh toán sandbox gọi webhook vào Billing. Mỗi service có database PostgreSQL riêng.
HTTPS
SỰ KIỆN
NHẬN
WEBHOOK
Client
web, Postman
API Gateway
YARP
CRM API
Sales + Notification
RabbitMQ
Billing service
tách ở M6
DB của CRM
PostgreSQL
DB của Billing
PostgreSQL
Nhà thanh toán
sandbox
CHÚ GIẢI
Tách thành service ở M6
Database
Bên ngoài hệ thống
Gọi / gửi
Webhook
© tiennhm