You are creating different ee object in two different files.
router.post('/', function(req, res){
database.create(req, ee);//try passing the ee object and use it to emit the event in db.js
ee.on('Save', function(){
console.log('data saved')
});
ee.on('Duplicate', function(){
console.log('Duplicate data')
});
res.end();
});