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