Mô tả

LoopBack is a highly-extensible, open-source Node.js framework that enables you to create dynamic end-to-end REST APIs with little or no coding. LoopBack 4 is the next step in the evolution of LoopBack. You can build Amazing APIs with Modern NodeJs, Typescript, Mysql and MongoDB.

Why Loopback 4:

  • A brand new LoopBack core to deliver great extensibility and flexibility written in TypeScript/ES2017.

  • You can Create powerful APIs easily with a new creation experience for defining REST API's and handling API requests/responses.

  • A new, improved programming model with Dependency Injection and new concepts such as Components, Mixins, Repositories, etc. make this the most extensible version yet.

  • Using OpenAPI-to-GraphQL, create a GraphQL interface for any REST API

LoopBack is a highly-extensible, open-source Node.js framework that enables you to:

  • Create dynamic end-to-end REST APIs with little or no coding.

  • Access data from major relational databases, MongoDB, SOAP and REST APIs.

  • Incorporate model relationships and access controls for complex APIs.

  • Separable components for file storage, third-party login, and OAuth 2.0.

What you will learn in this course:

  • Getting started with Typescript

  • Getting started with Loopback 4

  • Basic/Fundamentals of Typescript

  • Typescript Generics

  • Typescript Decorators

  • Typescript Classes

  • Typescript Interfaces

  • CRUD(Create, Read, Update, Delete) with Loopback 4

  • Build RESTFUL API and OpenAPI documentation

  • Exploring multiple datasources with Loopback 4 like Mysql, MongoDB.

  • Working with Relationship with Models like One to One, One to Many, Many to One.

  • Exploring Repositories, Controllers, Dependency Injections, Design Patterns in more depth

  • Authentication/Authorization in Loopback 4

  • Using External Component in Loopback 4

  • Exposing GraphQL API with Loopback 4


Bạn sẽ học được gì

Students will learn how to build REST APIs with NodeJs, Typescript, MysQL and MongoDB

Students will be able to do authentication and authorization in Loopback 4

Students will be able to test the REST APIs with Loopback 4

Yêu cầu

  • Knowledge of Javascript is important
  • Basic Knowledge of Typescript is requried
  • Knowledge of NodeJs is required

Nội dung khoá học

10 sections

Getting started with Loopback 4

2 lectures
Introduction to Loopback
02:44
Getting started with Loopback 4
09:09

Typescript Generics

9 lectures
What are Generics
02:34
Typescript Setup and Installation
03:57
Generic Function
03:07
Generic Function with T Array Type
02:29
Generic Function with Multiple Type Variables
02:22
Generic Constraints
02:19
Generic Interfaces to describe Object Properties
04:46
Create Interface to describe Function Types
03:17
Generic Classes and Interfaces
02:11

Decorators

6 lectures
Method Decorators
03:03
Arguments in Method Decorator
04:31
Configurable Decorator using Decorator Factory
01:46
Property Decorator
04:28
Parameter Decorator
02:15
Class Decorator
00:38

CRUD with Loopback

7 lectures
What is Loopback Model
02:21
Creating your first Loopback Model
03:56
Creating In-memory Datasource
03:51
Creating Repository for CRUD Operations
03:17
Creating Controller to define REST API Operations
04:01
Test Loopback REST APIs using Explorer
03:42
Digging into Loopback Repository
03:59

Connecting Loopback 4 with Mysql Database

3 lectures
Installing MysQL
04:44
Connecting Mysql Database with Loopback 4
14:02
Set Primary key Id property to Auto-increment
02:29

Loopback Relationship with Models

3 lectures
Implement HasMany Relationship between Models
20:35
Implement BelongsTo Relationship
11:11
Implement HasOne Relationship
14:34

Secure Loopback 4 Application with JSON WEB TOKEN Authentication

11 lectures
What is JSON Web Token Authentication
03:01
Creating User model with Signup Endpoint
07:50
Validate User Credentials for Signup
08:23
Introduction to Dependency Injection
08:20
Encrypt User Password by Injecting Service
12:30
Creating Login Route
05:26
Verify User Credentials while Login
17:26
Creating JSON Web Token
09:40
Refactoring Binding Keys to separate file
11:55
Creating JWT Authentication Strategy
15:55
Apply Authentication on protected routes
09:13

Authorization in Loopback 4

3 lectures
Creating Admin Role with Permissions
17:18
Set Permissions for Admin Role
11:21
Verify User Permissions in Authorize Interceptor
16:58

Bonus

2 lectures
Connecting Loopback 4 with MongoDB Database
06:37
Testing Loopback 4 Application
03:35

Bonus

1 lectures
Bonus Lecture
00:10

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.