From bd2ad6ecaf974d6a0f4d73c5c0908d0e19aef494 Mon Sep 17 00:00:00 2001 From: Nora Date: Thu, 26 Mar 2020 15:51:11 -0400 Subject: [PATCH] fixup! --- docs/site/Creating-CRUD-REST-apis.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/site/Creating-CRUD-REST-apis.md b/docs/site/Creating-CRUD-REST-apis.md index 4b44276eb803..aeb30d9b25c3 100644 --- a/docs/site/Creating-CRUD-REST-apis.md +++ b/docs/site/Creating-CRUD-REST-apis.md @@ -10,16 +10,17 @@ summary: --- Starting with a [model class](Model.md) and [datasource](DataSources.md), -LoopBack 4 allows you to easily use CRUD REST API. Using -[`@loopback/rest-crud`](https://github.com/strongloop/loopback-next/tree/master/packages/rest-crud), -a default CRUD repository and controller class without a custom class for -either. +LoopBack 4 allows you to easily use CRUD REST APIs by convention through +[`@loopback/rest-crud`](https://github.com/strongloop/loopback-next/tree/master/packages/rest-crud). +The package allows the application to use a default CRUD repository and +controller class without creating a custom class for either. The +[rest-crud example](https://github.com/strongloop/loopback-next/tree/master/examples/rest-crud) +is a simplified version of the [Todo example](https://github.com/strongloop/loopback-next/tree/master/examples/todo) -was modified to use this package in the -[rest-crud example](https://github.com/strongloop/loopback-next/tree/master/examples/rest-crud). -To use the rest-crud example, use the following command: +that uses `@loopback/rest-crud`. To see the rest-crud example, use the following +command: ```sh lb4 example rest-crud