About This Architecture
Multi-platform e-commerce integration core using a layered architecture with controllers, services, repositories, and event-driven webhook handling across Shopify, Lazada, and TikTok. ChannelController exposes REST endpoints for channel management, delegating to ChannelService and ChannelConnectionService implementations that orchestrate OAuth flows, credential lifecycle, and platform-specific token refresh logic. The system decouples platform integrations through factory patterns, webhook handlers, and event publishers that route platform events via RabbitMQ to downstream processors. This architecture enables teams to onboard new sales channels without modifying core logic, supporting credential rotation, webhook reconciliation, and product sync orchestration across heterogeneous platforms. Fork and customize this diagram on Diagrams.so to document your own multi-tenant channel architecture or extend it with additional platform adapters.