Loopback
Author: Tran Tuan Quy
Date: May 21 , 2017
About Me
Full Stack JavaScript Developer
Technical Manager at NAU Studio
I has worked for Pyramid Consulting as Frontend Manager
Contact Me
Twitter: #tuanquynet
G+: tuanquynet
Gmail: tuanquynet
Contents
What is loopback
Get Started
Core concepts
Authentication
Authorization (ACL)
Extend Functionality
Work with Data
Known issues
Show Case
Recap
What is it?
ExpressJS-based Web Framework
NodeJS-based Web Framework to Build RestFul API
It has been developed and maintained by IBM Team
Latest Version: 3.x
High Level Architecture
Get Started
Core concepts
Core Concept: Routing
Core Concept: Built-in Models
Application Model
User Model
ACL Models : ACL, AccessToken, Scope, Role, RoleMapping
Email Model
Authentication
Authenticate via User model
Authenticate via Passport Component
Authenticate via oauth 2.0
Authorization
Access control list
Static Roles: admin, team lead
Dynamic Roles: $everyone, $authenticated, $unauthenticated, $owner
Authorization
Process for implementing access control
Extend App Functionality
Add logic to Model
Define boot scripts
Define Mixins
Define Middleware
Work with Data
Data source: MySQL, MongoDB, Postgres, SQL Server, Oracle, DB2,....
Creating, updating, and deleting data Edit this page
Querying data Edit this page
Show Case
Recap
Based on ExpressJS
Control order of middleware with concept of "Phase"
Extend our functionality with various way: Model, Middleware
Have powerful built-in ACL
Be Able to connect multiple data source
Question & Answer
Thank for Your Attention
Made with Slides.com