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