Patterns · External APIs

External APIs

Patterns to design the edge layer that exposes your microservices to external clients — web apps, mobile apps, and third-party integrations. These patterns handle routing, aggregation, and client-specific optimizations.

API Gateway

A single entry point for all external clients that handles routing, composition, authentication, rate limiting, and other cross-cutting concerns.

Backend for Frontend (BFF)

A separate API gateway backend per client type (web, mobile, third-party), each optimized for its specific client's data requirements and independently deployable.