Greenstand / treetracker-query-api

To fetch Greenstand map data for client's like web map, wallet app, and so on.
GNU General Public License v3.0
14 stars 58 forks source link

Implement API: GET /countries/leaderboard?continent=Asia #51

Open dadiorchen opened 2 years ago

dadiorchen commented 2 years ago

To implement an endpoint: Implement API: GET /countries/leaderboard?continent=Asia

Note, the leaderboard has been created, but don't support query: continent=name, so the goal of this issue is to filter the leaderboard by continent name


Some hints:

dadiorchen commented 2 years ago

Also, you will find we 'hard code' the data in the API, that's just for that we are able to return the data quickly, so the development experience is good on the client side, please restore the real SQL query and add your code

dadiorchen commented 2 years ago

We will figure out a way to speed up the performance like a SQL cache.

pierrelstan commented 2 years ago

@dadiorchen I will work on this one

dadiorchen commented 2 years ago

Welcome to the GIS world :D