LoopBack makes it easy to build modern applications that require complex integrations.
Go to file
Miroslav Bajtoš ae7d99682b Simplify `app.defineMiddlewarePhases`
Refactor the implementation to use the new method `phaseList.zipMerge`.

This is commit is changing the behaviour in the case when
the first new phase does not exist in the current list.

Before the change, all new phases were added just before the "routes"
phase.

After this change, new phases are added to the head of the list,
until an existing phase is encountered, at which point the regular
merge algorithm kicks in.

Example:

    app.defineMiddlewarePhases(['first', 'routes', 'subapps']);

Before the change: code throws an error - 'routes' already exists.

After the change: phases are merged with the following result:

    'first', 'initial', ..., 'routes', 'subapps', ...
2014-11-12 08:59:56 +01:00
common/models Merge pull request #738 from strongloop/feature/style-cleanup-in-common 2014-11-05 20:07:34 +01:00
docs updated LB module diagram 2014-07-25 21:19:13 -07:00
example Move `context` example to a standalone app 2014-11-05 09:13:45 +01:00
lib Simplify `app.defineMiddlewarePhases` 2014-11-12 08:59:56 +01:00
templates Add password reset 2013-11-20 14:20:47 -08:00
test Simplify `app.defineMiddlewarePhases` 2014-11-12 08:59:56 +01:00
.gitignore Fix loopback in PhantomJS, fix karma tests 2014-06-26 13:30:09 +02:00
.jscsrc common: coding style cleanup 2014-11-04 13:52:49 +01:00
.jshintignore Add .jshintignore 2013-11-21 19:49:35 +01:00
.jshintrc common: coding style cleanup 2014-11-04 13:52:49 +01:00
.travis.yml Remove old node versions from travis 2013-11-08 13:30:53 -08:00
CHANGES.md - Use the RemoteObjects class to find remote objects instead of 2014-05-19 15:56:26 -07:00
CONTRIBUTING.md Update contribution guidelines 2014-10-01 18:04:34 -07:00
Gruntfile.js common: coding style cleanup 2014-11-04 13:52:49 +01:00
LICENSE Update README and license link 2014-04-28 10:57:26 -07:00
README.md Fix typo in README 2014-07-30 10:15:03 -07:00
docs.json Remove context middleware per Ritchie 2014-11-06 14:15:39 -08:00
favicon.ico Upgrade to Express 4.x 2014-05-29 08:44:05 -07:00
index.js Fix places using undefined variables 2014-10-15 16:44:00 +02:00
package.json Update chai to ^1.10.0 2014-11-11 11:04:40 +01:00

README.md

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 Oracle, MySQL, PostgreSQL, MS SQL Server, MongoDB, SOAP and other REST APIs.
  • Incorporate model relationships and access controls for complex APIs.
  • Use built-in push, geolocation, and file services for mobile apps.
  • Easily create client apps using Android, iOS, and JavaScript SDKs.
  • Run your application on-premises or in the cloud.

LoopBack consists of:

  • A library of Node.js modules.
  • Yeoman generators for scaffolding applications.
  • Client SDKs for iOS, Android, and web clients.

For more details, see http://loopback.io/.

LoopBack modules

The LoopBack framework is a set of Node.js modules that you can use independently or together.

LoopBack modules

Core

Connectors

Enterprise Connectors

Components

Client SDKs

Tools

Examples

Resources

Contributing

Please read CONTRIBUTING.md on how to contribute.

A brief guide for contributing to LoopBack projects.

Analytics