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

feat: Method to create a place in the DB #211

Open
13 of 14 tasks
Edilberto-Vazquez opened this issue May 9, 2022 · 0 comments
Open
13 of 14 tasks

feat: Method to create a place in the DB #211

Edilberto-Vazquez opened this issue May 9, 2022 · 0 comments
Assignees
Labels

Comments

@Edilberto-Vazquez
Copy link
Contributor

Edilberto-Vazquez commented May 9, 2022

Summary 💡

Remove a specific place from geolocation database.

Acceptance Criteria ✅

  • The method must store a place.
  • If the save failed, return an error with a 500 code.
  • If the save was ok, return the id saved in the database.
  • The place must save longitude and latitude as point type
  • The place must save country as string
  • The place must save state as string
  • The place must save city as string
  • The place must save zipcode as strin
  • The place must save street_address as string
  • The place must save price as double
  • The place must save place_db_id as string
  • The place must save created_at as date with ISO format
  • The place must save delete_at as date with ISO format
  • The place must save updated_at as null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants