Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Flask boilerplate project structure
├──app/ #main application
├──inc/ #utils
├──__init__.py
├──db.py #initiate sqlalchemy
├──util.py #common functions
├──models/ #data models
├──__init__.py
├──home_model.py #remove on needs
├──routes/
├──__init__.py
├──home_routes.py #remove on needs
├──static/
├──css/
├──style.css
├──images/
├──js/
├──main.js
├──templates/
├──home.html #remove on needs
├──main.html #main container
├──__init__.py
├──app.py #app file
└──settings.py #configuration
├──env/ #virtual environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.