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

Structural design pattern #467

Closed nullptr02 closed 3 years ago

nullptr02 commented 3 years ago

This change encompasses refactoring the “models” file in the /app/ location to follow the Bridge Structural Design Pattern. This allows the data to be called from an abstract class called ResponsedLocations