var vnLoopback = require('../../loopback/server/server.js'); var app = module.exports = vnLoopback.loopback(); vnLoopback.boot(app, __dirname); if (require.main === module) { app.start(); }