Design Patterns · Senior · Question 14 of 75
What is the Backend for Frontend (BFF) pattern?
- ✓Correct answer: A server layer tailored to a specific client that aggregates APIs
- 2A backend written in React by frontend developers
- 3A browser cache that replaces calls to the backend
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.