Design Patterns · Senior · Question 14 of 75

What is the Backend for Frontend (BFF) pattern?

Explanation

A mobile app and the web need different data. A BFF combines requests to microservices, strips unnecessary fields, and holds secrets and the session. Next.js with Route Handlers and Server Components often plays this role.

Further reading

Problem with a question

Design Patterns · Senior · question 14

Test yourself

Take the Design Patterns · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz