MapColonies / MapColonies/geocoding

"Smart" query route (/query) - MAPCO-4638

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
enhancement In Design
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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.