JevsJevs / SoftwareEngineering-MC656-2024-1s

1 stars 0 forks source link

Refactor: repeating DB connection clamping at backend main #41

Closed JevsJevs closed 5 months ago

JevsJevs commented 5 months ago

Esta é a issue que implementa o padrão de projeto singleton:

At backend/main.py there are multiple functions regarding endpoints. Each of them has the same repeated variables that perform DB connection We should refactor the code for simplicity sake + good SE practices