module.exports = function(app) { app.enableAuth(); var router = app.loopback.Router(); router.get('/status', app.loopback.status()); app.use(router); /* let ds = app.dataSources.auth; //ds.automigrate(function() { ds.autoupdate(function() { console.log('Tables migrated!'); }); */ };