🦠A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
I have made changes in total 2 files here app/services/location/jhu.py and second app/utils/countries.py.
I am creating Location object and it work as tree of our aggregate pattern. For creating Location object I create and inert object of LatLong, History, CountryCode classes. And these classes work as as a aggregate tree.
I have made changes in total 2 files here app/services/location/jhu.py and second app/utils/countries.py. I am creating
Location
object and it work as tree of our aggregate pattern. For creatingLocation
object I create and inert object ofLatLong
,History
,CountryCode
classes. And these classes work as as a aggregate tree.