Giter Site home page Giter Site logo

rodonal / loopback-migration-playground Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 169 KB

This is repo is a playground for checking how to do data migrations in LoopBack 4 framework

License: Other

JavaScript 0.64% Dockerfile 1.38% HTML 3.09% TypeScript 94.88%

loopback-migration-playground's Introduction

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

todo-tutorial-overview

Setup

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

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 todo
  2. Switch to the directory.

    cd loopback4-example-todo
  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 learning how to build it step-by-step, then continue with this tutorial!

Need help?

Check out our Slack and ask for help with this tutorial.

Bugs/Feedback

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

Contributions

Tests

Run npm test from the root folder.

Contributors

See all contributors.

License

MIT

loopback-migration-playground's People

Contributors

heurisctics123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.