LoopBack components are predefined packages that extend a basic LoopBack application. Fundamentally, a component is related code bundled together as a unit to enable LoopBack applications to easily reuse it.
A LoopBack application itself is nothing more than a grouping of components with a few added elements to tie them all together like a main app.js
.
Component | Description | Module |
---|---|---|
OAuth 2.0 | Enables LoopBack applications to function as oAuth 2.0 providers to authenticate and authorize client applications and users to access protected API endpoints. | loopback-component-oauth2 |
Adds push notification capabilities to your LoopBack application as a mobile back end service. | loopback-component-push | |
Storage service | Adds an interface to abstract storage providers like S3, filesystem into general containers and files. | loopback-component-storage |
Synchronization | Adds replication capability between LoopBack running in a browser or between LoopBack back-end instances to enable offline synchronization and server-to-server data synchronization. | Built into LoopBack; will be refactored into loopback-component-sync |
Third-party login (Passport) | Adds third-party login capabilities to your LoopBack application like Facebook, GitHub etc. | loopback-component-passport |