ReDI-School / F24-Berlin-Web-Circle

6 stars 3 forks source link

Feature/v2 places endpoint #295

Open GabrielMelhem opened 1 week ago

GabrielMelhem commented 1 week ago

closes #282

by calling this endpoint (http://localhost:8800/v2/places) we got this result

Screenshot 2024-11-19 at 16 31 01

after seeding the images also we need just to update line 35 in SApp.jsx to call the v2 endpoint to be like

  .get(`${BASE_URL}v2/places`)
Konzisam commented 3 days ago

Your code looks good. However I believe we should have only one prisma client. In this case we have a db folder with an initialization and export so it could be used also in seed