Description
The new statistics endpoint has more information about the current status of Covid in Portugal
This is a Work In Progress issue, after this PR, we need to build the new statistics UI and improve the Models created.
How To Test
Since the endpoint is not in production or even deployed, it is necessary to build the Dockerfile from the following project: https://github.com/dssg-pt/Docker_COVID_API
With the respective container of the docker image running. Update the class StatusDevApi with the host to your machine IP running the container.
Instructions:
git clone https://github.com/dssg-pt/Docker_COVID_API
cd Docker_COVID_API
docker build -t covid_api .
docker run -it --name some_covid_api -p 8001:5001 covid_api
Changes
✅ Add CovidStatus APIService, Model, and Provider
✅ Add to AppBloc
✅ Add bloc call in Statistics Screen
✅ dartfmt @ root
⚠️ no tests added
Closes #252
Description The new statistics endpoint has more information about the current status of Covid in Portugal
This is a Work In Progress issue, after this PR, we need to build the new statistics UI and improve the Models created.
How To Test Since the endpoint is not in production or even deployed, it is necessary to build the Dockerfile from the following project: https://github.com/dssg-pt/Docker_COVID_API
With the respective container of the docker image running. Update the class
StatusDevApi
with the host to your machine IP running the container.Instructions:
Changes ✅ Add CovidStatus APIService, Model, and Provider ✅ Add to AppBloc ✅ Add bloc call in Statistics Screen ✅ dartfmt @ root ⚠️ no tests added