Skip to content

Feature/v2 places endpoint#295

Open
GabrielMelhem wants to merge 2 commits intomainfrom
feature/v2Places-endpoint
Open

Feature/v2 places endpoint#295
GabrielMelhem wants to merge 2 commits intomainfrom
feature/v2Places-endpoint

Conversation

@GabrielMelhem
Copy link
Collaborator

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create new endpoint to get places

2 participants