ChocolateApp/Chocolate

Break up app.py

AtomsForPeace opened this issue · 6 comments

As mentioned in #7 (comment)

I was also looking at maybe breaking it up. Maybe use this issue to reference it in the future.

I just merged your PR, I'm gonna work on the break up of app.py

I tried your code, and there's a problem, all static files return a 404 error
image

I found how to repair that, I'm gonna commit

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

OK, let's do that