World's first open dashboard that uses crowdsourced data to connect COVID-19 patients to recovered donors for plasma therapy.
The API only facilitates POST requests in the form of a JSON. If you want to have a look at the data being used by the backend in the form of JSON, you could simply make a POST request to the endpoint https://www.covidplasma.in/api/v1/ using the standard public key issued to you.
If you don't have a key yet and want to explore the API, please contact the administrator.
To run the file on your local machine, you need to activate the virtual environment venv contained in the directory.
To activate the virtual environment, you need to ensure that you have the virtualenv package installed globally. To double check, try running
pip3 install virtualenvTo activate the virtual, cd into the directory and run
. venv/bin/activateThis would activate the virtual environment. You should see (venv) besides your directory in the terminal.
The requirements for the app are contained in the requirements.txt file. You could install each package individually using pip3 install <package-name> or automatically install all dependencies using
pip3 install -r requirements.txtYou can run the app using
python3 app.pyYou could also run the file by mounting a Docker image using the Dockerfile included in the source. Then run
docker build -t covidplasma .To deploy, run
docker run -p 80:80 covidplasmaPull requests are welcome. For any further questions, feel free to reach out to me at me@agamjolly.com. Thank you!