var vnLoopback = require('vn-loopback/server/server.js'); var app = module.exports = vnLoopback.loopback(); app.set('applications', require('./application.json')); vnLoopback.boot(app, __dirname, module);