Music can be hard, but making a band should be easy. That's why we created a platform that makes it easier for bands to find musicians and for musicians to network with bands.
try {
console.log(req.params.id);
console.log(res.locals.user.id);
const { id } = res.locals.user;
const artist = await Artist.findByPk(id);
artist.bandId = req.params.id;
await artist.save();
res.json({id:artist.bandId})
}catch (e) {
res.status(500).send(e.message)
}
})
Deployed Site: http://banditproject.surge.sh/






