Public API for supplying and verifying pseudonyms of users confirmed infected
- Python 3.8+
- MongoDB database
Quick start Python 3.8 (Debian based Linux)
sudo apt install python3.8 python3.8-pip
sudo update-alternatives --config python3
Then select the correct Python version.
Install and initialize Poetry. Run
poetry install
Quick start Poetry (UNIX)
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
source ~/.poetry/env
Copy the config.py.example
to config.py
and adjust the database connection URI.
Run the local Flask development server using
export POETRY_ENV="development"
poetry run flask run
Then send a POST request to http://localhost:5000/v0/cases/report for example.