CodeForAfrica / HealthTools.API

HealthTools API to retrieve, structure and return data being used by the health tools. Accessible at https://api.healthtools.codeforafrica.org/
https://api.healthtools.codeforafrica.org/
MIT License
19 stars 20 forks source link

Django API #11

Closed Gathondu closed 7 years ago

Gathondu commented 7 years ago

What does this PR do?

It refactors the healthtools api from a flask based api to a django based api It refactors the tests to work with django api Adds health facilities and nhif endpoints to the api

Description of Task to be completed?

[HTools API] Use Django rest framework

How should this be manually tested?

run nosetests --nocapture

Any background context you want to provide?

The initial codebase was flask geared but due to new requirement and the versatility of django rest framework, we decided to refactor the codebase.

Gathondu commented 7 years ago

@DavidLemayian