Let us now look at how to create services in order to access a provided data model.
Watch the video to learn about service models.
Note
CAP supports the protocols OData V4 and REST out-of-the-box. In addition, GraphQL can be served by using the open source package @cap-js/graphql. The default protocol is OData V4.
In this lesson, we will limit ourselves to the creation of service definitions and the OData V4 protocol adapter that automatically serves all CRUD operations for the exposed entities. Later we will also discuss how to implement custom domain logic.