Skip to content

A template web app with Flask. Features: latest bootstrap, user registry, login, forgot password. Secured admin panel, pagination, config files for Nginx and Supervisor and much more.

Notifications You must be signed in to change notification settings

AndreiD/Flask-Easy-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Easy-Template

Save time on your initial setup. This is a template app that includes the most important things you'll be probably using for your flask projects.

alt text

alt text

You can change the theme just by replacing one word in base.html

alt text

Features:

  • Latest bootstrap template, modernizer, jquery etc. latest, served from content delivery networks.
  • User Registry, Login & Forgot Password
  • Secured Admin Panel
  • REST API
  • Pagination
  • A sample tasks database with SQLALchemy

How to use it:

  • git clone https://github.com/AndreiD/Flask-Easy-Template.git <project_name> or download the zip
  • pip install -r requirements.txt
  • edit the config.py with your settings. (Tested with yahoo mail SMTP -> working ok)
  • in run.py edit the port of the app (Default: 1337)
  • python run.py -> http://server_ip:1337

optional edit /app/templates/base.html

{% set bootstrap_version = '3.2.0' %} {% set jquery_version = '2.1.1' %} {% set modernizer_version = '2.8.2' %} {% set bootswatch_version = '3.2.0' %} {% set bootswatch_theme = 'slate' %}

In case a new version appears, and you want to use it. modify it. also you can chose a nice theme from http://bootswatch.com/

in /app/models.py an example with "expenses list" is added.

an example with PAGINATION

Extras:
  • a supervisord.conf [supervisor is used to monitor the web application and restart it, also starts the app in case you restart your server]
  • a simple nginx.conf

Your Feedback is appreciated :)

About

A template web app with Flask. Features: latest bootstrap, user registry, login, forgot password. Secured admin panel, pagination, config files for Nginx and Supervisor and much more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published