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

Create `stakeholder/{stakehoulder_it}` api #372

Closed dadiorchen closed 5 months ago

dadiorchen commented 6 months ago

Create this api/endpoint:

https://github.com/Greenstand/treetracker-query-api/blob/ebf9d2cf474fc5ed8479809d54140ce5f80e3170/docs/api/spec/query-api.yaml#L273-L284

Please write unit test for the repository and check the SQL to fetch data gets executed correctly.

An example: https://github.com/Greenstand/treetracker-query-api/blob/main/server/infra/database/TreeRepositoryV2.spec.ts

XLPeng57 commented 6 months ago

Hi @dadiorchen, I'd like to work on this!