const Song = mongoose.model('Song', songSchema);

app.get('/song/:id', async (req, res) => const songId = req.params.id; try const song = await Song.findById(songId); res.json(song); catch (error) console.error(error); res.status(404).json( error: 'Song not found' );