🦠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!
What:
Applied decorator design pattern on to the Location class and its child
Why:
Location, TimelinedLocation, and NYTLocation are having a hierarchical order of inheritance and causing the code to not to very readable and inconsistent
How:
Removed TimelinedLocation class and added JHULocation. Modified Location class to make it compatible with JHULocation and NYTLocation
What: Applied decorator design pattern on to the Location class and its child
Why: Location, TimelinedLocation, and NYTLocation are having a hierarchical order of inheritance and causing the code to not to very readable and inconsistent
How: Removed TimelinedLocation class and added JHULocation. Modified Location class to make it compatible with JHULocation and NYTLocation