Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break up app.py #14

Open
AtomsForPeace opened this issue Apr 18, 2023 · 6 comments
Open

Break up app.py #14

AtomsForPeace opened this issue Apr 18, 2023 · 6 comments

Comments

@AtomsForPeace
Copy link
Contributor

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
Copy link
Contributor Author

Here's a good example using flask-sqlalchemy:
https://github.com/pallets-eco/flask-sqlalchemy/tree/main/examples/flaskr

Impre-visible added a commit that referenced this issue Apr 18, 2023
moved the creation of the app to the project init file. #14
@Impre-visible
Copy link
Member

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

@Impre-visible
Copy link
Member

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

@Impre-visible
Copy link
Member

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

@mauvray
Copy link

mauvray commented Apr 18, 2023

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
Copy link
Member

OK, let's do that

@Impre-visible Impre-visible reopened this Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants