Backend For Frontend
Source::
In Microservices Architecture, we have a lot of unnecessary complexity because each client has to manage his communications with a particular server.
To mitigate this, we can introduce an intermediary layer between the front-end and the back-end. This layer will receive all the front-end requests, redirect them to the corresponding microservice, receive the microservice response, and then redirect the response to the corresponding front-end app.
This allows us to reap the benefits of the Microservices Architecture without overly complicating the communication with front-end apps.