Zenohack.com Sniper Review

app.use('/api', require('./routes/api')); app.get('/', (req, res) => res.render('index'));

const log = (msg, type = 'info') => { Log.create({ taskId: task._id, message: msg, type }); console.log( [${task.name}] ${msg} ); }; Zenohack.com Sniper

// Get all tasks router.get('/tasks', async (req, res) => { const tasks = await Task.find().populate('profileId'); res.json(tasks); }); const log = (msg