The Backends-for-Frontends (BFF) pattern is an interesting solution to a problem many teams face. BFF stands for Backend For Frontend, and it’s a very clever way to architect your application in a way so that no matter how many different frontend experiences you offer, the core backend services remain intact.
Table of contents
Best practices to follow when implementing the BFF pattern: do’s and don’ts.What is the BFF pattern?1. Create one BFF per User Experience2. Do not reinvent the wheel3. Watch out for the fan-out antipattern4. Handle Errors Consistently on the BFF5. Use a Node-based server so you can leverage TypeScriptConclusion6 Comments
Sort: