230360ef28
Modify the executor to access the loopback object via `app.loopback`. Fall back to `require('loopback')` only when `app.loopback` is not set (loopback versions before 1.9). |
||
---|---|---|
docs | ||
lib | ||
test | ||
.gitignore | ||
.jshintignore | ||
.jshintrc | ||
CHANGES.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
browser.js | ||
docs.json | ||
index.js | ||
package.json |
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.