Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/v2 places endpoint #295

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

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