A solid foundation for your flask app

Overview

Flask Foundation

Build Status

There is a cookiecutter version of this repo at https://github.com/JackStouffer/cookiecutter-Flask-Foundation.

Documentation is located at https://jackstouffer.com/flask-foundation/

Flask Foundation is a solid foundation for flask applications, built with best practices, that you can easily construct your website/webapp off of. Flask Foundation is different from most Flask frameworks as it does not assume anything about your development or production environments. Flask Foundation is platform agnostic in this respect.

Built off of the bootstrapy project

Best practices were learned from:

License

Flask-Foundation is licensed under the BSD license. For more info see LICENSE.md

Want to learn more about Flask?

I also wrote a book on Flask! You can order it here.

Comments
  • Expired Cert

    Expired Cert

    This may be the wrong forum for this report, but the docs this repo links to force-redirect to HTTPS with an expired Lets Encrypt cert. Chrome gives very scary warnings about your website.

    opened by SamProtas 3
  • modernizr missing

    modernizr missing

    Thanks for a great template.

    modernizr lib isn't actually included in your repo but the pages reference it. From what I understand you have to go to the modernizr website and build it for the features you need to check for. Is there a reason it's referenced but nothing is in static/js/vendor ?

    opened by zerox1212 2
  • How to best integrate Flask-SocketIO

    How to best integrate Flask-SocketIO

    Can you give any recommendation for the best way to integrate Flask-SocketIO into the Flask-Foundation structure?

    In manage.py, I added socketio = SocketIO(app), then I created a new Flask-Script command to run socketio.run(app) instead of the built-in debug server.

    However, now I'm unsure how to import/access socketio from another file so that I can use @socketio.on('message') and socketio.start_background_task(). Is there a better place than manage.py for me to create socketio = SocketIO(app)?

    question 
    opened by hbradio 2
  • SCSS Missing?

    SCSS Missing?

    So I'm trying to load some example templates using foundation docs for my Python flask app and noticed that it wasn't looking the same. Then found that it looks like I'm missing any SCSS in the installed module which from my understanding is what foundation is built on. One example is that callouts just render with the text with no border or other styling as exampled in the docs. Am I meant to import this another way, or is there something else I'm missing with this one?

    I can provide more info or pictures if needed. Thanks.

    opened by PylotLight 1
  • Production server

    Production server

    I have used Flask-Foundation. I would like to create a production server. I searched for a tutorial but I found tutorials for simple Flask apps that don't use the Flask-Script extension. Do you know of any tutorial that I can follow?

    opened by bsamadi 1
  • Fix broken headings in Markdown files

    Fix broken headings in Markdown files

    GitHub changed the way Markdown headings are parsed, so this change fixes it.

    See bryant1410/readmesfix for more information.

    Tackles bryant1410/readmesfix#1

    opened by bryant1410 1
  • Perhaps Flask-Assets should be removed

    Perhaps Flask-Assets should be removed

    I am looking for flask skeleton that could accelerate the development of flask webpage or webapp. There are two candidate, one is Flask-Foundation, the other is overholt. Both of them use flask-assets for assets bundle. But I think that the frontend tasks should be done with frontend toolchains. So I think that flask-assets should be removed and add npm package.json which contains gulp/webpack or something else.

    question 
    opened by holmesconan 1
  • manage.py incorrect call of create_app

    manage.py incorrect call of create_app

    From a fresh clone:

    $ ./manage.py 
    Traceback (most recent call last):
      File "./manage.py", line 13, in <module>
        app = create_app('appname.settings.%sConfig' % env.capitalize(), env=env)
    TypeError: create_app() got an unexpected keyword argument 'env'
    
    opened by wiseman 1
  • Fix find commands in makefile

    Fix find commands in makefile

    in make clean all the commands were terminated with a backslash for no good reason. Also the find commands were missing ; at the end of the exec which is required.

    opened by onlyhavecans 1
  • docs: fix simple typo, supportted -> supported

    docs: fix simple typo, supportted -> supported

    There is a small typo in manage.py.

    Should read supported rather than supportted.

    Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

    opened by timgates42 0
Releases(1.4)
  • 1.4(Aug 14, 2021)

    • Updated Flask
    • Updated Flask-SQLAlchemy
    • Updated Flask-Assets
    • Updated Flask-WTF
    • Updated Flask-DebugToolbar
    • Updated Flask-Login
    • Updated jsmin
    • Updated pytest
    • Updated Bootstrap CSS and JS
    • Updated templates for the new Bootstrap version
    • Updated jQuery
    • Remove Flask-Scripting
    Source code(tar.gz)
    Source code(zip)
  • 1.3(Mar 19, 2015)

    Since the last release, there have been 15 commits and just over 200 more stars to this repo. Another thank you to all of you who use this project.

    New Features:

    • A cookie cutter version! (finally)
    • Now using Py.test fixtures rather than the old setUp/tearDown
    • Updated the third party libraries
    • Thanks to @joshfriend who
      • Cleaned up the requirements.txt file
      • Added basic password hashing to the user model
    • Thanks to @jstacoder who added some awesome utility functions to the manage.py script

    At this point, baring a major change in Flask in the future, I believe that this will be the last release for Flask Foundation. I am in no way abandoning Flask Foundation, but I feel that there really isn't anything else to add that wouldn't go against the goals of the project.

    If you disagree, please submit a pull request and I would be happy to look it over.

    -- Jack

    Source code(tar.gz)
    Source code(zip)
  • 1.2(Jul 21, 2014)

    A big thank you to all current 436 people who stared this repo. This simple framework has more stars than several popular flask extensions including flask-security and flask-cache. So again, huge thank you for making this so popular.

    Additions since last release:

    • flask-login
    • added Modernizr
    • updated js and css libraries
    Source code(tar.gz)
    Source code(zip)
  • v1.1(Sep 28, 2013)

    • switched to py.test for tests
    • form tests
    • url tests
    • testing database submitting on model tests
    • added documentation on how to deploy your application
    Source code(tar.gz)
    Source code(zip)
  • v1.0(Sep 22, 2013)

Owner
Jack Stouffer
Web developer, open source contributor
Jack Stouffer
Brandnew-flask is a CLI tool used to generate a powerful and mordern flask-app that supports the production environment.

Brandnew-flask is still in the initial stage and needs to be updated and improved continuously. Everyone is welcome to maintain and improve this CLI.

brandonye 4 Jul 17, 2022
Flask-app scaffold, generate flask restful backend

Flask-app scaffold, generate flask restful backend

jacksmile 1 Nov 24, 2021
Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.

Flask-Bcrypt Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application. Due to the recent increased prevelance of

Max Countryman 310 Dec 14, 2022
Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.

Flask-Bcrypt Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application. Due to the recent increased prevelance of

Max Countryman 282 Feb 11, 2021
Flask-Starter is a boilerplate starter template designed to help you quickstart your Flask web application development.

Flask-Starter Flask-Starter is a boilerplate starter template designed to help you quickstart your Flask web application development. It has all the r

Kundan Singh 259 Dec 26, 2022
Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.

Flask-Rebar Flask-Rebar combines flask, marshmallow, and swagger for robust REST services. Features Request and Response Validation - Flask-Rebar reli

PlanGrid 223 Dec 19, 2022
Flask Project Template A full feature Flask project template.

Flask Project Template A full feature Flask project template. See also Python-Project-Template for a lean, low dependency Python app. HOW TO USE THIS

Bruno Rocha 96 Dec 23, 2022
A Fast API style support for Flask. Gives you MyPy types with the flexibility of flask

Flask-Fastx Flask-Fastx is a Fast API style support for Flask. It Gives you MyPy types with the flexibility of flask. Compatibility Flask-Fastx requir

Tactful.ai 18 Nov 26, 2022
Flask pre-setup architecture. This can be used in any flask project for a faster and better project code structure.

Flask pre-setup architecture. This can be used in any flask project for a faster and better project code structure. All the required libraries are already installed easily to use in any big project.

Ajay kumar sharma 5 Jun 14, 2022
flask-reactize is a boostrap to serve any React JS application via a Python back-end, using Flask as web framework.

flask-reactize Purpose Developing a ReactJS application requires to use nodejs as back end server. What if you want to consume external APIs: how are

Julien Chomarat 4 Jan 11, 2022
Pf-flask-rest-com - Flask REST API Common Implementation by Problem Fighter Library

In the name of God, the Most Gracious, the Most Merciful. PF-Flask-Rest-Com Docu

Problem Fighter 3 Jan 15, 2022
Flask-Discord-Bot-Dashboard - A simple discord Bot dashboard created in Flask Python

Flask-Discord-Bot-Dashboard A simple discord Bot dashboard created in Flask Pyth

Ethan 8 Dec 22, 2022
Open-source Flask Sample built on top of flask-dance library

Open-source Flask Sample built on top of flask-dance library. The project implements the social login for Github and Twitter - Originally coded by TestDriven.IO.

App Generator 4 Jul 26, 2022
Flask-redmail - Email sending for Flask

Flask Red Mail: Email Sending for Flask Flask extension for Red Mail What is it?

Mikael Koli 11 Sep 23, 2022
Flask Sitemapper is a small Python 3 package that generates XML sitemaps for Flask applications.

Flask Sitemapper Flask Sitemapper is a small Python 3 package that generates XML sitemaps for Flask applications. This allows you to create a nice and

null 6 Jan 6, 2023
Flask-template - A simple template for make an flask api

flask-template By GaGoU :3 a simple template for make an flask api notes: you ca

GaGoU 2 Feb 17, 2022
A Flask app template with integrated SQLAlchemy, authentication, and Bootstrap frontend

Flask-Bootstrap Flask-Bootstrap is an Flask app template for users to clone and customize as desired, as opposed to a Flask extension that you can ins

Eric S. Bullington 204 Dec 26, 2022
Sample Dockerized flask app deployed on Kubernetes on Azure using AKS

Sample Dockerized flask app deployed on Kubernetes on Azure using AKS

Ahmed khémiri 22 Sep 8, 2021