The monolith offers an endpoint for each data source, and a single aggregating endpoint for all of them. In the previous section, we developed a dedicated backend-for-frontend application. In this case, the gateway can be seen as a container where to deploy BFF plugins. I'll be using Apache APISIX to demo how to do it, but the idea can be replicated on other gateways as well.

6m read timeFrom foojay.io
Post cover image
Table of contents
The use-caseSetting up the demoMigrating to microservicesDedicated backend-for-frontendBackend-for-frontend at the API Gateway levelBonus: a poor man's BFFConclusion

Sort: