Implementing different kinds of BFF services
Up to this point, we have learned how to control the scope of a BFF service and we have seen its major building blocks. In Chapter 5, Turning the Cloud into the Database, we discussed how different actors interact with data in different ways as it moves through its life cycle. Let’s look at some different kinds of BFF services that cater to the different phases of the data life cycle. These include the CRUD, Lov, Task, Search, Action, Dashboard, Reporting, and Archive BFF services.
CRUD BFF services
A CRUD BFF service is the most general variation of the BFF service pattern. These BFF services let us Create, Read, Update, and Delete (CRUD) data. They support user activities in the Create phase of the data life cycle.
For example, the Restaurant BFF service in our food delivery system allows restaurant owners and representatives to create and maintain their menus. The events from this service will feed the Menu BFF services...