Break up app.py
AtomsForPeace opened this issue · 6 comments
AtomsForPeace commented
As mentioned in #7 (comment)
I was also looking at maybe breaking it up. Maybe use this issue to reference it in the future.
AtomsForPeace commented
Here's a good example using flask-sqlalchemy:
https://github.com/pallets-eco/flask-sqlalchemy/tree/main/examples/flaskr
Impre-visible commented
I just merged your PR, I'm gonna work on the break up of app.py
Impre-visible commented
Impre-visible commented
I found how to repair that, I'm gonna commit
mauvray commented
Maybe we can keep this issue open until app.py is really broken appart ? We can also write the list of what needs to be done as a task list and have GitHub showing the completion status with something like this
- identify the different aspects of the app (auth, videos management, books management, music management, commons module...)
- create the subfolders for each one with the models and the blueprints
Impre-visible commented
OK, let's do that