ExpDev07 / coronavirus-tracker-api

🦠 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!
https://coronavirus-tracker-api.herokuapp.com
GNU General Public License v3.0
1.59k stars 323 forks source link

First Aggregates Completed(Assignment 8) #384

Closed bjy19 closed 3 years ago

bjy19 commented 3 years ago

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.