---
lang: en
title: 'API docs: rest-crud'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest-crud
permalink: /doc/en/lb4/apidocs.rest-crud.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest-crud](./rest-crud.md)

## 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](./rest-crud.crudrestapibuilder.md) |  |
|  [CrudRestComponent](./rest-crud.crudrestcomponent.md) |  |

## Functions

|  Function | Description |
|  --- | --- |
|  [defineCrudRestController(modelCtor, options)](./rest-crud.definecrudrestcontroller.md) | Create (define) a CRUD Controller class for the given model. |

## Interfaces

|  Interface | Description |
|  --- | --- |
|  [CrudRestController](./rest-crud.crudrestcontroller.md) | This interface describes prototype members of the controller class returned by <code>defineCrudRestController</code>. |
|  [CrudRestControllerCtor](./rest-crud.crudrestcontrollerctor.md) | Constructor of the controller class returned by <code>defineCrudRestController</code>. |
|  [CrudRestControllerOptions](./rest-crud.crudrestcontrolleroptions.md) | Options to configure different aspects of a CRUD REST Controller. |
|  [ModelCrudRestApiConfig](./rest-crud.modelcrudrestapiconfig.md) |  |


