KYC Architecture Explorer
An interactive visualization of the KYC system's hexagonal (ports & adapters) architecture — from REST endpoints through commands, service ports, and domain logic out to AWS infrastructure.
6-Layer Hexagonal Model
Each concentric ring represents an architectural boundary. Click any ring in the diagram above to inspect it, or browse below.
AWS Infrastructure
Outbound adapters and external systems. All AWS services and third-party integrations at the edge of the hexagon.
Inbound Adapters
Lambda handlers translating external triggers into commands. Inbound adapters for API Gateway, EventBridge, DynamoDB Streams, and S3.
Command Layer
Command objects implementing the Command Pattern with BaseCommand(IN, OUT, CONTEXT). Enforce idempotency via AWS Powertools.
Port Interfaces
Driving ports (input) and driven ports (output) — the hexagonal boundary. No infrastructure details here.
Service Layer
Application service implementations — orchestrate domain operations, call ports, manage transactions.
Domain Layer
Core business entities, value objects, aggregates, and domain events. Zero external dependencies.
Explore the System
API Inventory
52 REST endpoints with method, path, command, and service mappings.
Commands
60+ CQRS commands across 6 categories — profile, form, event, batch.
Event Flows
10+ domain events across 3 AWS EventBus flows with producer/consumer map.
AWS Topology
13 Lambda handlers + external clients — DynamoDB, SQS, Cognito & more.