Closed jvanz closed 3 years ago
To allow the development of this feature we need to load the data from a database. I just pushed in another branch a database interface. The branch has a fake database implementation which reads the data from a csv file. Thus, we can test the endpoints added for this issue.
Very nice @jvanz 🤘
I'm working to finish this.
The https://github.com/okfn-brasil/censo-querido-diario has a database that should be available in the API. So, we need to make the database available to the API and create the endpoints.
Suggested implementation:
request:
response:
request
GET /cities?query=b[&size=3]
response