loopback/test/fixtures/shared-methods/model-config-default-true/server/server.js

7 lines
173 B
JavaScript

var boot = require('loopback-boot');
var loopback = require('../../../../../index');
var app = module.exports = loopback();
boot(app, __dirname);
app.use(loopback.rest());