🦠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!
--> Apply structural design to nyt.py file in app/location so that similar location functions can be grouped
Why?
--> Have the functions depend on one another since they should be some dependencies, since some functions don't make sense without others that are similar.
How?
--> Created a class that deploys the composite pattern that has similar functions in it.
What?
--> Apply structural design to nyt.py file in app/location so that similar location functions can be grouped
Why?
--> Have the functions depend on one another since they should be some dependencies, since some functions don't make sense without others that are similar.
How?
--> Created a class that deploys the composite pattern that has similar functions in it.