🦠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!
Created JsonFile:
'country_name_country_code_path.json'
Modified the file 'app/location/init.py' to implement the AGGREGATION pattern.
Replaces the original way of accessing the country_code. Rather than accessing it as a globally accessible object, the country code is now only accessible through an instance of the class 'CountryCodeUtil' which acts as the root in the boundary.
Modified Files:
'app/location/__init.py' 'app/utils/countries.py'
Created JsonFile: 'country_name_country_code_path.json'
Modified the file 'app/location/init.py' to implement the AGGREGATION pattern.
Replaces the original way of accessing the country_code. Rather than accessing it as a globally accessible object, the country code is now only accessible through an instance of the class 'CountryCodeUtil' which acts as the root in the boundary.