Skip to content
JS

Build a Node.js REST API with LoopBack

Course on egghead by Bram Borggreve

View on egghead (opens in a new tab)
32 min
LengthVideo runtime
Subscription
Price modelegghead plan
15
Lessons
5.0
Rating out of 53 ratings on egghead
Jun 2017
Published23 Jun 2017

About this course

Description from egghead

In this course the developer will learn how to create a LoopBack API and build it out to an API that can be used as a backend for apps. We will start by creating a basic LoopBack API project and gradually enhance it to a production ready API. The API we create defines a few models to persist the data and has custom functionality, validation and hooks added to those models. After our data structure is defined we will learn how to extend the functionality of LoopBack by using mixins and components. We will also lock our API down using ACL’s and create a mechanism to automatically define the admin and user roles and create our admin user. The last part of the course will show how how to filter the data stored in the API. We will make the API production-ready by adding unit tests, connecting it to MongoDB and we will show how to deploy the app to now.sh.

What it covers

15 lessons
  1. 1Initialize a LoopBack Node.js Project through the CLI
  2. 2Create a model to persist data in a Node.js LoopBack API
  3. 3Persist in-memory data to a file when developing Node.js LoopBack API's
  4. 4Setup a development mode in LoopBack API using nodemon
  5. 5Create a relation between two LoopBack models
  6. 6Define a remote method on a LoopBack model
  7. 7Add validation rules to a model in LoopBack API
  8. 8Add unit tests to a LoopBack API project
  9. 9Add Operation Hooks to a LoopBack model
  10. 10Configure ACL’s to protect the LoopBack API
  11. 11Create a boot script to run code at the start of a LoopBack API
  12. 12Create a MongoDB DataSource in LoopBack
  13. 13Create a free database on MongoDB Atlas
  14. 14Filter model data in LoopBack
  15. 15Deploy a LoopBack API project using now.sh

Similar Node.js courses

  1. Build a Twelve-Factor Node.js App with Docker

    egghead · Mark Shust · 13 lessons · 4.2 from 26 ratings · Dec 2017

    30 minSubscription
    egghead134.2 (26)Dec 2017
  2. Up and running with Node and GraphQL

    Educative · Ruairidh Wynne-McHardy · 9 lessons · Apr 2022

    Beginner30 minSubscription
    Educative9Apr 2022
  3. Introduction to Node Servers with Hapi.js

    egghead · Mike Frey · 12 lessons · 5.0 from 1 ratings · Feb 2016

    27 minSubscription
    egghead125.0 (1)Feb 2016
  4. Beginner40 min
    CourseraMar 2022
  5. Develop a Serverless Backend using Node.js on AWS Lambda

    egghead · Nik Graf · 8 lessons · 4.1 from 28 ratings · Aug 2018

    16 minSubscription
    egghead84.1 (28)Aug 2018
  6. Intermediate1 h
    Codecademy1Nov 2022
  7. Intermediate1 h
    Codecademy1Nov 2022
  8. Intermediate1 h 30 min
    CourseraFeb 2023

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.

    Compare