A solid foundation for your flask app

Related tags

FlaskFlask-Foundation
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
A web application that consists of a collection of board games

PyBoardGame About This website contains a collection of board games for users to enjoy, as well as various guides for the games. The web app is built

Larry Shi 0 Aug 11, 2021
Flask extension for Pusher

Flask-Pusher Flask extension for Pusher. It is a thin wrapper around the official client, binding Flask app to Pusher client. Installation Install Fla

Iuri de Silvio 9 May 29, 2021
SQL Alchemy dialect for Neo4j

SQL Alchemy dialect for Neo4j This package provides the SQL dialect for Neo4j, using the official JDBC driver (the Neo4j "BI Connector" ) Installation

Beni Ben zikry 8 Jan 02, 2023
Flask Application Structure with MongoDB

This application aims to serve as a template for APIs that intend to use mongoengine and flask-restx

Tiago Franco 5 Jun 25, 2022
:rocket: Generate a Postman collection from your Flask application

flask2postman A tool that creates a Postman collection from a Flask application. Install $ pip install flask2postman Example Let's say that you have a

Numberly 137 Nov 08, 2022
A Flask extension that enables or disables features based on configuration.

Flask FeatureFlags This is a Flask extension that adds feature flagging to your applications. This lets you turn parts of your site on or off based on

Rachel Greenfield 131 Sep 26, 2022
Small and simple gravatar usage in Flask.

Flask Gravatar About This is small and simple integration gravatar into flask. Installation Flask-Gravatar is on PyPI so all you need is: pip install

Alexander Zelenyak 78 Sep 15, 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
Boilerplate template formwork for a Python Flask application with Mysql,Build dynamic websites rapidly.

Overview English | 简体中文 How to Build dynamic web rapidly? We choose Formwork-Flask. Formwork is a highly packaged Flask Demo. It's intergrates various

aswallz 81 May 16, 2022
flask extension for integration with the awesome pydantic package

Flask-Pydantic Flask extension for integration of the awesome pydantic package with Flask. Installation python3 -m pip install Flask-Pydantic Basics v

249 Jan 06, 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
Free casino website. Madden just for learning / fun

Website Casino Free casino website. Madden just for learning / fun. Uses Jinja2 (HTML), Flask, JavaScript, etc. Dice game Preview

Kirill Zhosul 0 Jun 22, 2022
Serve angular production application from python flask backend. Quick and Easy

Serve angular production application from python flask backend. Quick and Easy

mark 1 Dec 01, 2022
Flask + marshmallow for beautiful APIs

Flask-Marshmallow Flask + marshmallow for beautiful APIs Flask-Marshmallow is a thin integration layer for Flask (a Python web framework) and marshmal

marshmallow-code 770 Jan 05, 2023
Flask webassets integration.

Integrates the webassets library with Flask, adding support for merging, minifying and compiling CSS and Javascript files. Documentation: https://flas

Michael Elsdörfer 433 Dec 29, 2022
A web application made with Flask that works with a weather service API to get the current weather from all over the world.

Weather App A web application made with Flask that works with a weather service API to get the current weather from all over the world. Uses data from

Christian Jairo Sarmiento 19 Dec 02, 2022
This is a repository for a playlist of videos where I teach building RESTful API with Flask and Flask extensions.

Build And Deploy A REST API with Flask This is code for a series of videos in which we look at the various concepts involved when building a REST API

Ssali Jonathan 10 Nov 24, 2022
This is a API/Website to see the attendance recorded in your college website along with how many days you can take days off OR to attend class!!

Bunker-Website This is a GUI version of the Bunker-API along with some visualization charts to see your attendance progress. Website Link Check out th

Mathana Mathav 11 Dec 27, 2022
The Snoopy boilerplate in flask framework for development enterprise application.

Snoopy What is snoopy! The "Snoopy" boilerplate in flask framework for development enterprise application. Motivation In my 10 years of development ex

Bekhzod 2 Sep 29, 2022
flask-apispec MIT flask-apispec (🥉24 · ⭐ 520) - Build and document REST APIs with Flask and apispec. MIT

flask-apispec flask-apispec is a lightweight tool for building REST APIs in Flask. flask-apispec uses webargs for request parsing, marshmallow for res

Joshua Carp 617 Dec 30, 2022