Skip to content
/ flask-app-template Public template

template flask app for getting started quickly

Notifications You must be signed in to change notification settings

ht450/flask-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-app-template

My template Flask App for quickly getting started with Flask.

Blueprints

This app is set up using Flask Blueprints and has both functional (home) and divisional (about) blueprint examples. Both are registered at app/__init__.py.

Delete whichever type you don't need.

See http://exploreflask.com/en/latest/blueprints.html for differences between them.

  • funtional pattern: home
    • files are separated by type
    • view file is in app/views
    • templates in app/templates/home
  • divisional pattern: about
    • files are separated out into their functions
    • view file and templates all contained in app/about directory

Getting Started

To install the requirements:

python -m venv venv
venv/Scripts/activate
pip install -r requirements.txt

to run the app

flask run

About

template flask app for getting started quickly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published