Page tree
Skip to end of metadata
Go to start of metadata

LoopBack is a Node.js mobile backend framework that you can run in the cloud or on-premises. For more information on the advantages of using LoopBack, see StrongLoop | LoopBack.

To gain a basic understanding of key LoopBack concepts, read the following section. Then, dive right into creating an app in Creating a LoopBack application.

See also the LoopBack API reference.

Overview

LoopBack consists of:

  • A library of Node.js modules for connecting web and mobile apps to data sources such as databases and REST APIs.
  • A command line tool, slc lb, for creating and working with LoopBack applications.
  • Client SDKs for native and web-based mobile clients.

As illustrated in the diagram below, a LoopBack application has three components:

  • Models that represent business data and behavior.
  • Data sources and connectors. Data sources are databases or other backend services such as REST APIs, SOAP web services, or storage services. Connectors provide apps access to enterprise data sources such as Oracle, MySQL, and MongoDB.
  • Mobile clients using the LoopBack client SDKs.

An app interacts with data sources through the LoopBack model API, available locally within Node.jsremotely over REST, and via native client APIs for iOS, Android, and HTML5. Using the API, apps can query databases, store data, upload files (feature not yet released), send emails, create push notifications, register users, and perform other actions provided by data sources.

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