loopback/test/fixtures/shared-methods/model-config-defined-false/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());