Backend For Frontend
A pattern where each frontend (phone, web) has its own backend that tailors the data to it.
Example
The mobile BFF sends 10 fields and 200 px photos; the web BFF, 30 fields and 1,200 px photos.
Test yourself: Backend For Frontend
API Gateway
The BFF fetches data, gives it a ___ and sends it to its frontend.
It turns the service's 30 fields into the 10 the phone screen shows.
API Gateway
With 1 single website and no app, a BFF is always worth it.
With 1 single frontend, the backend already fits it: a BFF would add 1 piece for no gain.
0/2
â–¶ Play