MapColonies / MapColonies/geocoding
"Smart" query route (/query) - MAPCO-4638
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
As part of the agreed architecture, We would like to add a /query route which will enable users, instead of querying specific route to get their data, to be able to query one "smart" route which will give them their wanted result. At first, we need to create a route which based on regexes, this route will "proxy" to the right desired route. For example, if user sent "tile ...", the route will proxy it to /tile route.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing route definitions and the handlers for /tile and other specific routes. Define the regex-based matching behavior for /query, verify that matching requests proxy to the intended route, and add coverage for representative query patterns and unmatched requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100