Flask Project (large app organisation using bleuprint) (not for extra_large app)
- This project containe an organisation that help you to build extensible projects.
- Easy to Deploy on Heroku
====================
-
yourapp/
-
--- init.py
-
--- admin/
-
------- init.py
-
------- views.py
-
------- static/
-
------- templates/
-
--- home/
-
------- init.py
-
------- views.py
-
------- static/
-
------- templates/
-
--- control_panel/
-
------- init.py
-
------- views.py
-
------- static/
-
------- templates/
-
--- init.py
-
--- models.py
-
--- forms.py
-
--- app.py
-
--- run_app.py
-
--- requirements.txt
-
--- Procfile
-
models.py: Model file containe all db classes for flask-saqlalchemy.
-
forms.py: Form file containe all form classes for flask-wtf.
-
app.py: your flask app run from this file.
-
run_app.py: this file let you testing your app live with debug mode=True(don't deploy your project with this file).