Advanced LoopBack

Developers that wish to use LoopBack to quickly generate secure RESTful APIs for their service.


Expected Duration
130 minutes

The LoopBack framework offers a great variety of means to work with and relate data in data models. In this course, you will learn methods of creating models, connecting them to data sources and creating relations between models. You will also learn how to add logic to your application as well as work with and query data.


LoopBack Models

  • start the course
  • use the models that are part of every LoopBack application
  • add functionality to the default LoopBack models
  • use the model generator to create models
  • use database discovery to create models
  • use instance introspection to create models
  • add custom functionality to existing models
  • connect LoopBack models to backend data sources
  • make models available over REST
  • use schemas to ensure model data is valid
  • Model Relations

  • create model relations using BelongsTo
  • create model relations using HasOne
  • create model relations using HasMany
  • create model relations using HasManyThrough
  • create model relations using Polymorphic
  • create model relations using EmbedsMany
  • query data from related models
  • Application Logic

  • extend your model by adding custom REST endpoints
  • execute code when other methods are called
  • access information about the current execution context
  • take actions when other LoopBack events occur
  • Managing and Querying Data

  • delete data using the DestroyAll method in your model
  • filter query results by fields
  • include data from related models in a query
  • obtain query results that match logical conditions
  • obtain a specific subset of results from a query
  • Practice: Creating Models

  • create LoopBack models




    Multi-license discounts available for Annual and Monthly subscriptions.