See more
mediator.on('db.ready', (db) => { let rep repository.connect(db) .then(repo => { console.log('Connected. Starting Server') rep = repo …