Convention-based bootstrapper for LoopBack applications
Go to file
Miroslav Bajtoš fccc6e147a Merge pull request #9 from strongloop/configure-models
Configure models
2014-06-10 10:27:19 +02:00
docs Remove auto-attach. 2014-06-10 09:24:16 +02:00
lib Remove auto-attach. 2014-06-10 09:24:16 +02:00
test Remove auto-attach. 2014-06-10 09:24:16 +02:00
.gitignore Load datasources and app cfg from multiple files 2014-05-27 14:08:58 +02:00
.jshintignore Custom rootDir for models and datasources 2014-05-27 14:49:11 +02:00
.jshintrc Initial commit 2014-05-23 15:51:20 +02:00
CHANGES.md Start CHANGES.md 2014-05-27 16:18:09 +02:00
CONTRIBUTING.md Initial commit 2014-05-23 15:51:20 +02:00
LICENSE Initial commit 2014-05-23 15:51:20 +02:00
README.md Change models.json to configure existing models 2014-06-10 09:21:15 +02:00
browser.js Implement compileToBrowserify and bootBrowserApp 2014-06-03 14:08:34 +02:00
docs.json Implement compileToBrowserify and bootBrowserApp 2014-06-03 14:08:34 +02:00
index.js Change models.json to configure existing models 2014-06-10 09:21:15 +02:00
package.json Implement compileToBrowserify and bootBrowserApp 2014-06-03 14:08:34 +02:00

README.md

LoopBack Boot

LoopBack Boot is a convention-based bootstrapper for LoopBack applications.

For full documentation, see the official StrongLoop documentation:

Installation

npm install loopback-boot

Usage

var loopback = require('loopback');
var boot = require('loopback-boot');

var app = loopback();
boot(app, __dirname);

app.use(loopback.rest());
app.listen();

See API docs for complete API reference.

Versions

The version range 1.x is backwards compatible with app.boot provided by LoopBack 1.x versions and the project layout scaffolded by slc lb project up to slc version 2.5.

The version range 2.x supports the new project layout as scaffolded by yo loopback.