Skip to content

API Patterns

This section documents shared structural and error-handling patterns for API services.

These patterns are intentionally described in a generic way so they can be reused across services.

What is covered

  • The core and shell split
  • How modules compose foundations and domains using function composition
  • How CQRS commands and queries support multiple entrypoints
  • How client errors and transient errors flow through the system
  • How applications communicate using events