Redesign home page

This commit is contained in:
2024-09-27 15:52:22 +02:00
parent e3863058a0
commit 2977c73a10
31 changed files with 587 additions and 161 deletions

View File

@@ -8,7 +8,9 @@ export const band = Router()
// Get all bands
band.get("/", (req: Request, res: Response) => {
Band.findAll()
Band.findAll({
include: [ Genre, Rating ]
})
.then(bands => {
res.status(200).json(bands)
})