Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/site/express-with-lb4-rest-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ Then copy and paste the following into the `ds.json` file:
### Add Note Repository

To create the repository, run the `lb4 repository` command and choose the
`DsDataSource` as the datasource and `Note` model as the model.
`DsDataSource`, as the datasource, `Note` model as the model, and
`DefaultCrudRepository` as the repository base class.

### Add Note Controller

Expand Down Expand Up @@ -252,7 +253,7 @@ Now that our **src/server.ts** file is ready, then we can modify our
import {ExpressServer} from './server';
import {ApplicationConfig} from '@loopback/core';

export {ExpressServer};
export {ExpressServer, NoteApplication};

export async function main(options: ApplicationConfig = {}) {
const server = new ExpressServer(options);
Expand Down
2 changes: 2 additions & 0 deletions docs/site/todo-list-tutorial-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ lb4 repository
? Select the model(s) you want to generate a repository TodoList
create src/repositories/todo-list.repository.ts
update src/repositories/index.ts
? Please select the repository base class DefaultCrudRepository (Legacy juggler
bridge)

Repository TodoList was created in src/repositories/
```
Expand Down
2 changes: 2 additions & 0 deletions docs/site/todo-tutorial-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ lb4 repository
? Select the model(s) you want to generate a repository Todo
create src/repositories/todo.repository.ts
update src/repositories/index.ts
? Please select the repository base class DefaultCrudRepository (Legacy juggler
bridge)

Repository Todo was created in src/repositories/
```
Expand Down