Backends for Frontends (BFF)

Build a dedicated backend per client experience (web, mobile) that shapes APIs for that client's needs.

With BFF, each frontend gets its own thin backend owned by the same team, which aggregates and tailors downstream service calls. It avoids a one-size-fits-all API that serves no client well, and is also used to keep tokens server-side for browser apps. Downsides are duplicated logic across BFFs and more services to run.

Type
Architecture pattern
Category
Architecture
License
Free
Pricing
Free
Level
Intermediate
Technologies
architecture, apis, web, mobile
Last verified
26 Nov 2026

What Backends for Frontends (BFF) is used for

  • Distinct web and mobile experiences
  • Server-side token handling for SPAs

Strengths

  • Client-optimised APIs
  • Frontend team autonomy

Limitations

  • Duplication across BFFs
  • More deployables

Backends for Frontends (BFF) alternatives

Built with the same technologies

Official links

Sources

Explore