LoopBack 4 Todo Application TutorialNote: This page was generated from the loopback-next/examples/todo/README.md.

@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 usingLoopBack 4. You will experience how you can create REST APIs with just5 steps.

todo-tutorial-overview

Setup

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

  • Node.js at v8.9 or greaterAdditionally, this tutorial assumes that you are comfortable with certaintechnologies, languages and concepts.

  • JavaScript (ES6)

  • RESTLastly, you’ll need to install the LoopBack 4 CLI toolkit:
  1. npm i -g @loopback/cli

Tutorial

To follow this tutorial, begin with theCreate your app scaffoldingsection.

Steps

Try it out

If you’d like to see the final results of this tutorial as an exampleapplication, follow these steps:

  • Run the lb4 example command to select and clone the todo repository:
  1. lb4 example todo
  • Switch to the directory.
  1. cd loopback4-example-todo
  • Finally, start the application!
  1. $ npm start
  2. 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 itworks. If you’re interested in learning how to build it step-by-step, thencontinue with this tutorial!

Need help?

Check out our Gitter channel and askfor help with this tutorial.

Bugs/Feedback

Open an issue in loopback-nextand we’ll take a look.

Contributions

Tests

Run npm test from the root folder.

Contributors

Seeall contributors.

License

MIT