C4 Model — Level 3: Component¶
Microservice Ecosystem Overview¶
High-level view of all five services and their inter-service communication (Internal HTTP + BullMQ events). For detailed internals, see the per-service diagrams below.
API Gateway (Port 3000)¶
Authentication, request proxying, WebSocket gateway, health aggregation, rate limiting, observability.
Order Service (Port 3001)¶
Core domain service: Shopify integration (OAuth, webhooks, catalog), order lifecycle, print jobs, SimplyPrint, shipments, Sendcloud, orchestration, fulfillment, cancellation, inventory tracking, stock replenishment, users, analytics, event/audit logs, notifications.
Print Service (Port 3002)¶
Print job management, SimplyPrint integration (webhooks, files, reconciliation), product mappings, parts library.
Shipping Service (Port 3003)¶
Shipment management, Sendcloud integration (labels, webhooks, reconciliation), retry queue, order data adapter.
GridFlock Service (Port 3004)¶
Parametric baseplate generation (JSCAD), full pipeline orchestration (STL → slice → SimplyPrint upload → product mapping), BullMQ job processing, plate-level preview cache with dynamic border assembly.
Web Application (React 19 PWA)¶
Progressive Web App: dashboard with analytics, order management with shipping, product mappings, activity/audit logs, admin user management, integrations settings, push notifications, offline support.
Sources¶
- C4_Component.puml — Microservice ecosystem overview
- C4_Component_Gateway.puml — API Gateway
- C4_Component_OrderService.puml — Order Service
- C4_Component_PrintService.puml — Print Service
- C4_Component_ShippingService.puml — Shipping Service
- C4_Component_GridflockService.puml — GridFlock Service
- C4_Component_Web.puml — Web Application