Skip to main content
CourseFlix

Loopback 4: Modern ways to Build APIs in Typescript & NodeJs

5h 14m 32s
English
Paid

LoopBack 4 is the latest iteration of the highly-extensible, open-source Node.js framework that simplifies the creation of dynamic, end-to-end REST APIs with minimal coding. This course will guide you through building amazing APIs using modern technologies like NodeJs, Typescript, MySQL, and MongoDB.

Why Choose LoopBack 4?

  • Extensibility and Flexibility: Built with a brand-new core in TypeScript/ES2017, LoopBack 4 offers superior extensibility and flexibility.

  • Effortless API Creation: Easily define REST APIs and manage requests/responses with the new creation experience.

  • Advanced Programming Model: Featuring Dependency Injection, Components, Mixins, Repositories, and more for unmatched extensibility.

  • GraphQL Interface: Use OpenAPI-to-GraphQL to create a GraphQL interface for any REST API.

Core Features of LoopBack

  • Create dynamic end-to-end REST APIs with minimal coding.
  • Access data from major relational databases, MongoDB, SOAP, and REST APIs.
  • Manage model relationships and apply access controls for complex APIs.
  • Utilize separable components for file storage, third-party login, and OAuth 2.0.

What You Will Learn

  • Getting started with TypeScript and LoopBack 4.
  • Fundamentals of TypeScript, including Generics, Decorators, Classes, and Interfaces.
  • CRUD Operations: Create, Read, Update, Delete with LoopBack 4.
  • Build RESTful APIs and generate OpenAPI documentation.
  • Work with multiple data sources like MySQL and MongoDB.
  • Understand model relationships: One-to-One, One-to-Many, Many-to-One.
  • Deep dive into Repositories, Controllers, Dependency Injections, and Design Patterns.
  • Implement authentication and authorization in LoopBack 4.
  • Use external components and expose GraphQL API with LoopBack 4.

Requirements

  • Basic knowledge of JavaScript is important.
  • Some familiarity with TypeScript is required.
  • A good understanding of NodeJs is necessary.

Who This Course is For

  • NodeJs developers wanting to build REST APIs with LoopBack 4.
  • Existing LoopBack 3 developers exploring modern RESTful APIs with TypeScript.
  • TypeScript developers interested in building REST APIs with NodeJs, MySQL, and MongoDB.

Course Outcomes

  • Build REST APIs using NodeJs, TypeScript, MySQL, and MongoDB.
  • Implement authentication and authorization in LoopBack 4.
  • Effectively test REST APIs built with LoopBack 4.

About the Author: Udemy

Udemy thumbnail

Udemy is the largest open marketplace for online courses on the internet. Founded in 2010 by Eren Bali, Oktay Caglar, and Gagan Biyani and headquartered in San Francisco, the company went public on the Nasdaq in 2021 under the ticker UDMY. The platform hosts well over two hundred thousand courses across software development, IT and cloud, data science, design, business, marketing, and creative skills, taught by tens of thousands of independent instructors. Roughly seventy million learners use it worldwide, and the corporate arm — Udemy Business — supplies a curated subset of that catalog to enterprise customers.

Because Udemy is a marketplace rather than a single editorial publisher, the catalog is uneven by design. The strongest material lives in the long-form, project-based courses authored by working engineers — full-stack JavaScript, React, Node.js, Python data science, AWS, Docker and Kubernetes, mobile development with Flutter and React Native, and cloud certification preparation. The CourseFlix listing under this source is the slice of that catalog that has been mirrored here for offline-friendly viewing, organized by topic and updated as new releases land. Pricing on Udemy itself swings dramatically with the site's near-permanent sales, which is why the platform is best treated as a deep reference catalog: pick instructors with strong reviews and a track record of updating their material rather than buying on the headline price alone.

Watch Online 46 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 46 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Introduction to Loopback
All Course Lessons (46)
#Lesson TitleDurationAccess
1
Introduction to Loopback Demo
02:45
2
Getting started with Loopback 4
09:10
3
What are Generics
02:35
4
Typescript Setup and Installation
03:58
5
Generic Function
03:08
6
Generic Function with T Array Type
02:30
7
Generic Function with Multiple Type Variables
02:23
8
Generic Constraints
02:20
9
Generic Interfaces to describe Object Properties
04:47
10
Create Interface to describe Function Types
03:18
11
Generic Classes and Interfaces
02:12
12
Method Decorators
03:04
13
Arguments in Method Decorator
04:32
14
Configurable Decorator using Decorator Factory
01:47
15
Property Decorator
04:29
16
Parameter Decorator
02:16
17
Class Decorator
00:39
18
What is Loopback Model
02:22
19
Creating your first Loopback Model
03:57
20
Creating In-memory Datasource
03:52
21
Creating Repository for CRUD Operations
03:18
22
Creating Controller to define REST API Operations
04:02
23
Test Loopback REST APIs using Explorer
03:43
24
Digging into Loopback Repository
04:00
25
Installing MysQL
04:45
26
Connecting Mysql Database with Loopback 4
14:03
27
Set Primary key Id property to Auto-increment
02:30
28
Implement HasMany Relationship between Models
20:36
29
Implement BelongsTo Relationship
11:12
30
Implement HasOne Relationship
14:35
31
What is JSON Web Token Authentication
03:02
32
Creating User model with Signup Endpoint
07:51
33
Validate User Credentials for Signup
08:24
34
Introduction to Dependency Injection
08:21
35
Encrypt User Password by Injecting Service
12:31
36
Creating Login Route
05:27
37
Verify User Credentials while Login
17:27
38
Creating JSON Web Token
09:41
39
Refactoring Binding Keys to separate file
11:56
40
Creating JWT Authentication Strategy
15:56
41
Apply Authentication on protected routes
09:14
42
Creating Admin Role with Permissions
17:19
43
Set Permissions for Admin Role
11:22
44
Verify User Permissions in Authorize Interceptor
16:59
45
Connecting Loopback 4 with MongoDB Database
06:38
46
Testing Loopback 4 Application
03:36
Unlock unlimited learning

Get instant access to all 45 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

  • React & TypeScript Mastery thumbnail

    React & TypeScript Mastery

    Sources: Beto Moedano
    React & TypeScript Mastery is a hands-on course that will guide you step by step from the basics to an advanced level in developing modern applications on...
    24 hours 15 minutes 54 seconds 5 / 5
  • Build Your First Product with LLMs, Prompting, RAG thumbnail

    Build Your First Product with LLMs, Prompting, RAG

    Sources: Towards AI, Louis-François Bouchard
    This practical intensive course will provide you with all the necessary skills to create a fully functional advanced product based on large language models...
    2 hours 25 minutes 20 seconds 5 / 5
  • MERN 2024 Edition - MongoDB, Express, React and NodeJS thumbnail

    MERN 2024 Edition - MongoDB, Express, React and NodeJS

    Sources: Udemy
    Welcome to the immersion in the MERN Stack! This course will help you master all aspects of building a fully functional "Jobify" application using MongoDB.
    19 hours 7 minutes 5 / 5