loopback-boot/docs/header-node.md

233 B

Node API

Use this API in the app.js file of your server-side Node.js application.

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

var app = module.exports = loopback();
boot(app, __dirname);