Skip to content

africa-covid-19-response-toolkit/covid19-commcare-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 CommCare API

Setup Steps (~15 minutes)

  1. Install Pipenv for Python 3.6+.

Development

Setup and enter the Python virtual environment.

$ pipenv shell --three
$ pipenv install --dev --skip-lock

Export the CommCare credentials to the environment.

$ export COMMCARE_USERNAME=...
$ export COMMCARE_PASSWORD=...

Run the FastAPI development server in the Python virtual environment.

$ ./dev-server.sh

You can view the OpenAPI exported docs at localhost:8000/docs.

About

COVID-19 CommCare Backend API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published