E
E
EastJesus2021-09-17 14:21:05
JavaScript
EastJesus, 2021-09-17 14:21:05

When should you use BFF?

In what all the same cases is it worth additionally making a BFF layer for your SPA application? Those. write a server on a node that will proxy requests to the real backend and do various other things.

I read a lot, but have not yet come to the conclusion whether I need this layer. While it is clear that the BFF layer helps to hide secrets on its side (so that tokens do not shine in HTTP requests), with this you can hide the real handles for the API, you can modify the backend response for transmission to the front. Maybe I missed something?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question