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: Add endpoints for retrieving towns and exact town details #31

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

ubeydeozdmr
Copy link
Owner

The code changes include adding new endpoints in the controller.js file to handle requests for retrieving towns and exact town details. The getTowns endpoint retrieves a list of towns based on various query parameters such as name, population, offset, limit, fields, and sort. The getExactTown endpoint retrieves the details of a specific town based on its ID.

This commit message follows the conventional format of "feat: " to indicate the addition of a new feature.

The code changes include adding new endpoints in the controller.js file to handle requests for retrieving towns and exact town details. The getTowns endpoint retrieves a list of towns based on various query parameters such as name, population, offset, limit, fields, and sort. The getExactTown endpoint retrieves the details of a specific town based on its ID.

This commit message follows the conventional format of "feat: <description>" to indicate the addition of a new feature.
@ubeydeozdmr ubeydeozdmr added the enhancement New feature or request label Aug 11, 2024
@ubeydeozdmr ubeydeozdmr self-assigned this Aug 11, 2024
@ubeydeozdmr ubeydeozdmr linked an issue Aug 11, 2024 that may be closed by this pull request
@ubeydeozdmr ubeydeozdmr merged commit 1711542 into main Aug 11, 2024
1 check passed
ubeydeozdmr added a commit that referenced this pull request Sep 20, 2024
…search filters for area and altitude

This commit updates the data files for Provinces, Districts, Towns, and Villages to include search filters for area and altitude. The new filters allow users to search for entities within a specific range of area or altitude. The code has been refactored to handle the new filters and validate the input values. If the provided values are invalid or out of range, appropriate error messages are thrown.

Closes #31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

belde / kasaba bilgileri
1 participant