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: Create endpoints for fetch country,state and city #786

Closed
4 tasks done
shitrerohit opened this issue Jun 18, 2024 · 3 comments
Closed
4 tasks done

feat: Create endpoints for fetch country,state and city #786

shitrerohit opened this issue Jun 18, 2024 · 3 comments
Assignees
Labels
feature This is a new feature

Comments

@shitrerohit
Copy link
Contributor

shitrerohit commented Jun 18, 2024

  • Create prisma-schema modal for Country, state and city
  • Create separate endpoints for fetching the Country, State and Cites
  • Set relationship between Geo-location tables and organization table
  • Refector org creation API according to organization prisma model.
@shitrerohit shitrerohit added the feature This is a new feature label Jun 18, 2024
@ganeshawle25
Copy link

created Geo-Location as separate service and module in API-Gateway. Implements all three apis and tested on local environment. Now PR in review state.

@sayali-chavan96
Copy link

sayali-chavan96 commented Jul 8, 2024

Pending Todos:

Backend

  • When trying to fetch details of all states associated with a given countryId and providing an invalid countryId, (eg. 1013212) there is a need for validation,the system should return a '404 Not Found' status code
  • when details of all cities associated with a given countryId and stateId and providing a mismatched countryId and stateId there is a need for validation the system should return status code should be 404 Not Found

@sayali-chavan96
Copy link

Tested on QA environment and it's working as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This is a new feature
Projects
None yet
Development

No branches or pull requests

3 participants