Page Contents

Home > @loopback/rest-crud

rest-crud package

REST API controller implementing default CRUD semantics.

Remarks

Allows LoopBack 4 applications to quickly expose models via REST API without having to implement custom controller or repository classes.

Classes

Class Description
CrudRestApiBuilder  
CrudRestComponent  

Functions

Function Description
defineCrudRestController(modelCtor, options) Create (define) a CRUD Controller class for the given model.

Interfaces

Interface Description
CrudRestController This interface describes prototype members of the controller class returned by defineCrudRestController.
CrudRestControllerCtor Constructor of the controller class returned by defineCrudRestController.
CrudRestControllerOptions Options to configure different aspects of a CRUD REST Controller.
ModelCrudRestApiConfig