aureliowozhiak / DLaaS

Data Lake as a Service
23 stars 6 forks source link

feat: refactored db connectors + added db url builders + db dev files #42

Closed lgcavalheiro closed 11 months ago

lgcavalheiro commented 11 months ago

As discussed with @aureliowozhiak on discord, we agreed to unify all database connectors for now under the DatabaseConnector class, since the only difference was the __init__ method, we could just add the full url to it, instead of building it inside __init__.

I created the folder utils with the database url builder functions in it, we can use it for other utilitarian features in the future.

I also took the liberty of creating the dev folder with files that will help us deploying databases for development purposes in the future using docker compose.