M
M
Maxim2020-11-14 12:11:26
API
Maxim, 2020-11-14 12:11:26

What is implemented in the BFF layer when it is assumed that this is an API Gateway?

Greetings!

I heard a lot that one of the options for implementing the API Gateway is Backend for Frontend.
But I do not quite understand what the implementation of BFF is in the API Gateway layer.
Are they just routes that lead to the service that implements the frontend?
Or do you need to implement the logic for building the visual part for the client right in the API Gateway layer?
For example: building and rendering an application on React, or implementing the MVC pattern on templates.
Or is BFF simple and stupid: a situation where we make a separate API Gateway for each client?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-11-14
@max_shane

Not stupid, but yes, for each api front that provides the features it needs. Also, there may be different operations and additional data transformations that are needed only for this front.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question