SQL promet un req, res

app.get('/notes', function(req, res) {
  Note.findAll().then(notes => res.json(notes));
});
Sara Gismondi