# Change Log v0.22.1

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

## 0.22.1 (2018-10-09)

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

# 0.22.0 (2018-10-08)

### Features

- use resolveJsonModule to load datasource config (73e19ff)

## 0.21.2 (2018-10-06)

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

## 0.21.1 (2018-10-05)

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

# 0.21.0 (2018-10-03)

### Bug Fixes

- clean up dataSource usage (69506a4)

### Features

- testlab: add StubbedInstanceWithSinonAccessor (1dc2304)

## 0.20.2 (2018-09-28)

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

## 0.20.1 (2018-09-27)

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

# 0.20.0 (2018-09-25)

### Features

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

# 0.19.0 (2018-09-21)

### Features

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

# 0.18.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.17.6 (2018-09-17)

### Bug Fixes

- example-todo: fix typo in README (e56dcc5)

## 0.17.5 (2018-09-14)

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

## 0.17.4 (2018-09-14)

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

## 0.17.3 (2018-09-14)

### Bug Fixes

- example-todo: add responses to controllers (a7fc210)

## 0.17.2 (2018-09-12)

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

## 0.17.1 (2018-09-10)

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

# 0.17.0 (2018-09-08)

### Bug Fixes

- remove extra imports for mixin dependencies (35b916b)

### Features

- service-proxy: add service mixin (fb01931)

## 0.16.3 (2018-08-25)

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

## 0.16.2 (2018-08-24)

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

## 0.16.1 (2018-08-20)

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

# 0.16.0 (2018-08-15)

### Features

- add two simple benchmarks (5066cdf)

# 0.15.0 (2018-08-08)

### Bug Fixes

- cli: install dependencies for clones examples (5774f1f)
- service-proxy: await datasource until it connects to the service (714344b)

### Features

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

## 0.14.2 (2018-07-21)

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

## 0.14.1 (2018-07-20)

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

# 0.14.0 (2018-07-20)

### Features

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

## 0.13.3 (2018-07-13)

### Bug Fixes

- example-todo: correct todo-overview image link (afb5a66)

## 0.13.2 (2018-07-11)

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

## 0.13.1 (2018-07-10)

### Bug Fixes

- docs: fix example-todo diagram link (b2fe27c)

# 0.13.0 (2018-07-09)

### Features

- body validation (d284ad8)

## 0.12.5 (2018-06-28)

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

## 0.12.4 (2018-06-27)

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

## 0.12.3 (2018-06-26)

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

## 0.12.2 (2018-06-25)

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

## 0.12.1 (2018-06-25)

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

# 0.12.0 (2018-06-20)

### Features

- add type coercion (2b8d816)
- example-todo: add Geo to examples/todo (b4a9a9e)

## 0.11.4 (2018-06-11)

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

## 0.11.3 (2018-06-09)

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

## 0.11.2 (2018-06-09)

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

## 0.11.1 (2018-06-09)

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

# 0.11.0 (2018-06-08)

### Features

- cli: add vscode config files (3738b9c)

## 0.10.1 (2018-05-28)

### Bug Fixes

- clone the test folder for examples (00688ea)

# 0.10.0 (2018-05-23)

### Features

- cli: add CLI prompt for controller's http path name (0f9c438)

## 0.9.4 (2018-05-20)

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

## 0.9.3 (2018-05-14)

### Bug Fixes

- change index.d.ts files to point to dist8 (42ca42d)
- update example scripts and files in package.json (65f5d52)

## 0.9.2 (2018-05-14)

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

## 0.9.1 (2018-05-08)

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

# 0.9.0 (2018-05-03)

### Features

- add helper package "dist-util" (532f153)

# 0.8.0 (2018-05-03)

### Features

- add helper package "dist-util" (532f153)

## 0.7.3 (2018-04-26)

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

## 0.7.2 (2018-04-26)

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

## 0.7.1 (2018-04-25)

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

# 0.7.0 (2018-04-16)

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

## 0.6.3 (2018-04-16)

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

## 0.6.2 (2018-04-12)

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

## 0.6.1 (2018-04-11)

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

# 0.6.0 (2018-04-11)

### Bug Fixes

- change file names to fit advocated naming convention (0331df8)

### Features

- repository: have @repository take in constructor as arg (3db07eb)

## 0.5.3 (2018-04-06)

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

## 0.5.2 (2018-04-04)

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

## 0.5.1 (2018-04-02)

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

# 0.5.0 (2018-03-29)

### Code Refactoring

- renamed example-getting-started to example-todo (7a09f1b)

### BREAKING CHANGES

- example-getting-started is now example-todo

## 0.4.1 (2018-03-23)

### Bug Fixes

- example-getting-started: remove old model from sample data (4fee3b1)

### Reverts

- example-getting-started: sync code and docs (5f54b96)

# 0.4.0 (2018-03-21)

### Features

- rest: expose app.requestHandler function (20a41ac)

### BREAKING CHANGES

- rest: `RestServer#handleHttp` was renamed to `RestServer#requestHandler`.

## 0.3.4 (2018-03-14)

Note: Version bump only for package @loopback/example-getting-started

## 0.3.3 (2018-03-13)

Note: Version bump only for package @loopback/example-getting-started

## 0.3.2 (2018-03-08)

Note: Version bump only for package @loopback/example-getting-started

## 0.3.1 (2018-03-07)

Note: Version bump only for package @loopback/example-getting-started

# 0.3.0 (2018-03-06)

### Bug Fixes

- fix typo of `additional` (2fd7610)

### Features

- upgrade from swagger 2 to openapi 3 (71e5af1)

# 0.2.0 (2018-03-01)

Note: Version bump only for package @loopback/example-getting-started

## 0.1.2 (2018-03-01)

### Features

- repository: add datasource method in repository mixin (85347fa)
- add repository booter (#1030) (43ea7a8)

## 0.1.1 (2018-02-23)

Note: Version bump only for package @loopback/example-getting-started

# 0.1.0 (2018-02-21)

### Bug Fixes

- example-getting-started: correct spacing on navigation sections (0dde314)

### Features

- @loopback/boot (#858) (c2ca8be)

## 1.0.1-alpha.7 (2018-02-15)

### Bug Fixes

- example-getting-started: remove juggler warning (86139f6)
- example-getting-started: use sinon from testlab (#984) (09fc791)

## 1.0.1-alpha.6 (2018-02-07)

### Bug Fixes

- build: fix tslint config and slipped violations (22f8e05)
- example-getting-started: update readme to use RestApplication (#961) (b3e2c0e)
- example-getting-started: use RestApplication (#955) (3829878)
- use parameter level decorators for openapi params (c29dd19)

### build

- drop dist6 related targets (#945) (a2368ce)

### BREAKING CHANGES

- Support for Node.js version lower than 8.0 has been dropped. Please upgrade to the latest Node.js 8.x LTS version.

Co-Authored-by: Taranveer Virk taranveer@virk.cc

## 1.0.1-alpha.5 (2018-02-04)

Note: Version bump only for package @loopback/example-getting-started

## 1.0.1-alpha.4 (2018-01-30)

Note: Version bump only for package @loopback/example-getting-started

## 1.0.1-alpha.3 (2018-01-29)

Note: Version bump only for package @loopback/example-getting-started

## 1.0.1-alpha.2 (2018-01-26)

Note: Version bump only for package @loopback/example-getting-started

## 1.0.1-alpha.1 (2018-01-26)

### Bug Fixes

- apply source-maps to test errors (76a7f56), closes #602
- make mocha self-contained with the source map support (7c6d869)

## 1.0.1-alpha.0 (2018-01-19)

### Bug Fixes

- example-getting-started: fix "extends" path to point to @loopback/build module (5b37148)

### Features

- example-getting-started: migrate into monorepo (9478d8b)

# @loopback/example-todo

This is the basic tutorial for getting started with Loopback 4!

## Overview

This tutorial demonstrates how to create a basic API for a todo list using LoopBack 4.

## Setup

First, you'll need to install a supported version of Node:

- Node.js at v8.9 or greater

Additionally, this tutorial assumes that you are comfortable with certain technologies, languages and concepts.

- JavaScript (ES6)
- REST

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

    npm i -g @loopback/cli

## Tutorial

To follow this tutorial, begin with the Create your app scaffolding section.

### Steps

1. Create your app scaffolding
2. Add your Todo model
3. Add a datasource
4. Add a repository
5. Add a controller
6. Putting it all together
7. Bonus: Integrate with a geo-coding service

## 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.

2. Switch to the directory.

       cd loopback4-example-todo

3. Finally, start the application!

       $ npm start

       Server is running on port 3000

Feel free to look around in the application's code to get a feel for how it works. If you're interested in learning how to build it step-by-step, then continue with this tutorial!

### Need help?

Check out our Gitter channel and ask for help 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