JoaoCeleste / MC426

0 stars 0 forks source link

fix: code-smells in main app #34

Closed tdas0 closed 6 months ago

tdas0 commented 6 months ago

This PR intends to fix some code-smells in the app.py

Configuration for Production:

In a production environment, it's common to set debug=False.

Error Handling:

Add error handling to handle potential exceptions during the creation of the app, database initialization, and migrations.

Also added docstrings to the file.

Linked with #29