2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00
2018-03-31 18:26:40 +02:00

A simple go-to Flask template project incorporating many cool module, eg:

  • Flask-Security for user and permissions management
  • Flask-Social for social login
  • Flask-WTF for form management
  • Flask-SQLAlchemy for database access
  • Flask-Migrate for migrations
  • Flask-Admin for admin panel
  • Flask-Script for management commands
  • Admin is only accessible for is_superuser's
  • Social authorization automatically creates user model and allows him to make sure email fetched from social (Facebook only right now) is correct.

After all, when you look at it, it's just a Django-for-Flask... :)

Usage

  • Clone repository
  • mv flaskbase yourproject
  • find . -type f -print0 | xargs -0 sed -i 's/flaskbase/yourproject/g'
  • ...
  • PROFIT!

TODO

  • Migrate to Flask-Social-Blueprint. Much cleaner.
Description
Flask-ish app template
Readme 296 KiB
Languages
Python 62%
HTML 35.4%
Dockerfile 1.7%
Mako 0.9%