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

Implementing Creational Design Pattern #464

Closed nullptr02 closed 3 years ago

nullptr02 commented 3 years ago

This pull request encompasses refactoring the “init” file in the /app/location/ to follow the Prototype Creational Design Pattern. By refactoring this file and adapting the Prototype Creational Design Pattern, objects can be created and copied (shallow/deep).