# Change Log v1.5.4

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

## 1.5.4 (2019-04-05)

Note: Version bump only for package @loopback/example-todo-list

## 1.5.3 (2019-03-22)

Note: Version bump only for package @loopback/example-todo-list

## 1.5.2 (2019-03-22)

Note: Version bump only for package @loopback/example-todo-list

## 1.5.1 (2019-03-12)

Note: Version bump only for package @loopback/example-todo-list

# 1.5.0 (2019-03-01)

### Bug Fixes

- repository: change default binding scope to TRANSIENT for repos (55461af)

### Features

- add express example (dd2400e)

## 1.4.4 (2019-02-25)

### Bug Fixes

- example-todo-list: change rootDir in compilerOptions (70ebbad)

## 1.4.3 (2019-02-08)

### Bug Fixes

- example-todo-list: "npm run migration" script path (bf26cc3)

## 1.4.2 (2019-01-28)

Note: Version bump only for package @loopback/example-todo-list

## 1.4.1 (2019-01-15)

Note: Version bump only for package @loopback/example-todo-list

# 1.4.0 (2019-01-14)

### Features

- always include tslint and typescript in project dev-dependencies (e0df285)

## 1.3.1 (2018-12-20)

Note: Version bump only for package @loopback/example-todo-list

# 1.3.0 (2018-12-13)

### Bug Fixes

- repository: revert hasOne target FK as PK implementation (fcc76df)

### Features

- scaffold DB migration script for new app projects (f783f07)
- repository: add belongsToUniquely sugar syntax method (1b5b66a)

## 1.2.2 (2018-11-26)

Note: Version bump only for package @loopback/example-todo-list

## 1.2.1 (2018-11-17)

Note: Version bump only for package @loopback/example-todo-list

# 1.2.0 (2018-11-17)

### Bug Fixes

- todo-list example index.js (cfea04c)

### Features

- an extension adding a self-hosted REST API Explorer (4c165c7)

## 1.1.1 (2018-11-14)

Note: Version bump only for package @loopback/example-todo-list

# 1.1.0 (2018-11-08)

### Bug Fixes

- change unmatched html tags, remove redundant 'px' from 0 (46d08f6)
- update usage of `x-ts-type` for schemas (57c694e)
- repository: build relations based on their names (2046701)

### Features

- cli: use app.static for default home page (1dcf169)

## 1.0.1 (2018-10-17)

Note: Version bump only for package @loopback/example-todo-list

# 0.10.0 (2018-10-08)

### Features

- use resolveJsonModule to load datasource config (73e19ff)

## 0.9.1 (2018-10-06)

Note: Version bump only for package @loopback/example-todo-list

# 0.9.0 (2018-10-05)

### Bug Fixes

- mark HasManyRepository as a readonly property (39227eb)

### Features

- repository: implement belongsTo relation (df8c64c)

# 0.8.0 (2018-10-03)

### Bug Fixes

- clean up dataSource usage (69506a4)

### Features

- testlab: add StubbedInstanceWithSinonAccessor (1dc2304)

# 0.7.0 (2018-09-28)

### Features

- repository: return an object for count and updateAll (c146366)

## 0.6.1 (2018-09-27)

Note: Version bump only for package @loopback/example-todo-list

# 0.6.0 (2018-09-25)

### Features

- add "filter" parameter to "find" endpoints (7e1acfc)

# 0.5.0 (2018-09-21)

### Features

- testlab: add createRestAppClient(), simplify usage in tests (d75be77)
- testlab: set port to 0 in givenHttpServerConfig (90a0bfb)

# 0.4.0 (2018-09-19)

### Bug Fixes

- rest: return 404 when a model was not found (7a56bad)

### Features

- repository: rework *ById methods to throw if id not found (264f231)

## 0.3.9 (2018-09-14)

Note: Version bump only for package @loopback/example-todo-list

## 0.3.8 (2018-09-14)

Note: Version bump only for package @loopback/example-todo-list

## 0.3.7 (2018-09-14)

### Bug Fixes

- example-todo-list: add responses to controllers (bf32971)

## 0.3.6 (2018-09-12)

Note: Version bump only for package @loopback/example-todo-list

## 0.3.5 (2018-09-10)

Note: Version bump only for package @loopback/example-todo-list

## 0.3.4 (2018-09-08)

### Bug Fixes

- remove extra imports for mixin dependencies (35b916b)

## 0.3.3 (2018-08-25)

Note: Version bump only for package @loopback/example-todo-list

## 0.3.2 (2018-08-24)

Note: Version bump only for package @loopback/example-todo-list

## 0.3.1 (2018-08-15)

Note: Version bump only for package @loopback/example-todo-list

# 0.3.0 (2018-08-08)

### Bug Fixes

- cli: install dependencies for clones examples (5774f1f)
- cli: remove deleteAll endpoint from REST Controller template (34eba34)

### Features

- cli: use `app.restServer.url` for console logs (f31160c)

## 0.2.2 (2018-07-21)

Note: Version bump only for package @loopback/example-todo-list

## 0.2.1 (2018-07-20)

Note: Version bump only for package @loopback/example-todo-list

# 0.2.0 (2018-07-20)

### Features

- example-todo-list: add TodoList package/tutorial (306d437)

# @loopback/example-todo-list

This is an extended tutorial that builds on top of `@loopback/example-todo`.

## Overview

This tutorial demonstrates how to create a set of APIs for models that are related to one another.

## Setup

If you're following from the tutorial in `@loopback/example-todo`, you can jump straight to our first step: Add TodoList model

If not, you'll need to make sure you have a couple of things installed before we get started:

- Node.js at v8.9 or greater

Next, you'll need to install the LoopBack 4 CLI toolkit:

    npm i -g @loopback/cli

We recommend that you start with the todo tutorial if you're not familiar with LoopBack4, but if you are and don't want to start from scratch again, you can use the LoopBack 4 CLI tool to catch up to where this tutorial will continue from:

    lb4 example todo-list

It should be noted that this tutorial does not assume the optional geo-coding step has been completed. Whether the step has been completed or not, the content and the steps listed in this tutorial remain the same.

## Tutorial

Once you're ready to start the tutorial, let's begin by adding a TodoList model

### Steps

1. Add TodoList Model
2. Add TodoList Repository
3. Add TodoList and TodoList's Todo Controller

## Try it out

If you'd like to see the final results of this tutorial as an example application, follow these steps:

1. Run the `lb4 example` command to select and clone the todo repository:

       $ lb4 example
       ? What example would you like to clone? (Use arrow keys)
         todo: Tutorial example on how to build an application with LoopBack 4.
       ❯ todo-list: Continuation of the todo example using relations in LoopBack 4.
         hello-world: A simple hello-world Application using LoopBack 4.
         log-extension: An example extension project for LoopBack 4.
         rpc-server: A basic RPC server using a made-up protocol.
         express-composition: A simple Express application that uses LoopBack 4 REST API.

2. Switch to the directory.

       cd loopback4-example-todo-list

3. Finally, start the application!

       $ npm start

       Server is running at http://127.0.0.1:3000

Feel free to look around in the application's code to get a feel for how it works. If you're interested in how it's been built or why we do things a certain way, then continue on with this tutorial!

### Bugs/Feedback

Open an issue in loopback-next and we'll take a look!

## Contributions

- Guidelines
- Join the team

## Tests

Run `npm test` from the root folder.

## Contributors

See all contributors.

## License

MIT