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