LoopBack 2.x has reached end-of-life in April 2019. It is no longer supported.

To ask questions and discuss how you are using LoopBack, check out the LoopBack Developer Forum .

The LoopBack framework

The LoopBack framework is a set of Node.js modules that you can use independently or together to quickly build REST APIs.

A LoopBack application interacts with data sources through the LoopBack model API, available locally within Node.js, remotely over REST, and via native client APIs for iOS, Android, and HTML5. Using these APIs, apps can query databases, store data, upload files, send emails, create push notifications, register users, and perform other actions provided by data sources and services.

Clients can call LoopBack APIs directly using Strong Remoting, a pluggable transport layer that enables you to provide backend APIs over REST, WebSockets, and other transports.

The following diagram illustrates key LoopBack modules, how they are related, and their dependencies.

LoopBack modules</figure>

LoopBack framework modules

Category Description Use to… Modules
Models Model and API server Dynamically mock-up models and expose them as APIs without worrying about persisting. loopback
Abstraction Model data abstraction to physical persistence Connect to multiple data sources or services and get back an abstracted model with CRUD capabilities independent of backing data source. loopback-datasource-juggler
Initialization Application initialization Configure data sources, customize models, configure models and attach them to data sources; Configure application settings and run custom boot scripts. loopback-boot
Sequencing Middleware execution Configure middleware to be executed at various points during application lifecycle. loopback-phase
Data RDBMS and noSQL physical data sources Enable connections to RDBMS and noSQL data sources and get back an abstracted model.
  • loopback-connector-mongodb
  • loopback-connector-mysql
  • loopback-connector-postgresql
  • loopback-connector-msssql
  • loopback-connector-oracle
  • Many others…
Integration General system connectors Connect to an existing system that expose APIs through common enterprise and web interfaces
  • loopback-connector-rest
  • loopback-connector-soap
Components Add-ons to core LoopBack Integrate with pre-built services packaged into components.
  • loopback-component-push
  • loopback-component-storage
  • loopback-component-passport
Clients Client SDKs Develop client app using native platform objects (iOS, Android, AngularJS) that interact with LoopBack APIs via REST.
  • loopback-sdk-ios
  • loopback-sdk-android
  • loopback-sdk-angular