Skip to content
Public template

About

Flask App Template with Login

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

flaskloginapp

Flask App Template

Inspired by and modeled after Miguel Grinberg's Flask Tutorial. Links are included to corresponding sections in the tutorial if you want to learn more.

Includes:

*This template ships with a more relaxed CSP than included with flask-talisman by default in order to allow Bootstrap 4 to work properly. Please refer to flask-talisman documentation to decide what's right for your site.

Basic Setup

  • Set up a virtual environment and install the requirements more info
  • Create a .env file in the root directory (/.venv) more info
    • Set up your gmail accout to allow third party sign-in. See above link for more info.
    • Sample .env file:
      FLASK_APP=flaskapp
      MAIL_SERVER=smtp.googlemail.com
      MAIL_PORT=587
      MAIL_USE_TLS=1
      MAIL_USERNAME=example@gmail.com
      MAIL_PASSWORD=examplepassword
      SECURITY_PASSWORD_SALT=put_your_password_salt_here
      SECRET_KEY=put_your_secret_key_here
      

About

Flask App Template with Login

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages