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
SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).

Flask-SeaSurf SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF). CSRF vulnerabilities have been found in large and popular

Max Countryman 183 Dec 28, 2022
Intranet de la Rez Flask web app

IntraRez Application Flask de l'Intranet de la Rez. Exigences Python : Probablement = 3.10 à terme, pour l'instant = 3.8 suffit ; Autres packages Li

3 Jul 03, 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
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
Flaskr: Intro to Flask, Test-Driven Development (TDD), and JavaScript

Flaskr - Intro to Flask, Test-Driven Development, and JavaScript Share on Twitter As many of you know, Flaskr -- a mini-blog-like-app -- is the app th

Michael Herman 2.2k Jan 04, 2023
A YouTube webscraper made with flask.

YouTube Webscraper This website is for you to check all the stats on your favorite Youtube video! Technologies Python Flask HTML CSS Pafy Contributing

Proconsulates 3 Nov 25, 2021
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

6 Jan 06, 2023
Flask extension that takes care of API representation and authentication.

Flask-API-Utils Flask-API-Utils helps you to create APIs. It makes responses in appropriate formats, for instance, JSON. All you need to do is to retu

Marsel Mavletkulov 55 Aug 28, 2022
Flask Boilerplate - Paper Kit Design | AppSeed

Flask Paper Kit Open-Source Web App coded in Flask Framework - Provided by AppSeed Web App Generator. App Features: SQLite database SQLAlchemy ORM Ses

App Generator 86 Nov 29, 2021
OpenTracing instrumentation for the Flask microframework

Flask-OpenTracing This package enables distributed tracing in Flask applications via The OpenTracing Project. Once a production system contends with r

3rd-Party OpenTracing API Contributions 133 Dec 19, 2022
A multi-container docker application. Implemented and dockerized a web-based service leveraging Flask

Flask-based-web-service-with-Docker-compose A multi-container docker application. Implemented and dockerized a web-based service leveraging Flask. Des

Jayshree Rathi 1 Jan 15, 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
This is a small notes web app, with python and flask microframework. Using sqlite3

Python Notes App. This is a small web application maked with flask-python for add notes easily and quickly. Dependencies. You can create a virtual env

Eduard 1 Dec 26, 2021
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
retorna informações de pessoas que não existem

random-person-api API que entrega dados aleatórios sobre pessoas que (provavelmente) não existem. Como usar? Copie o link abaixo https://random-person

Miguel 3 Aug 09, 2022
5 Flask Projects To Get Started

5 Flask Projects Projects Made By Using Flask Projects List Rock Paper Scissor Game - A Simple Game Weather App - A OpenWeatherMap Scraper Task List -

Root_Arch 59 Dec 18, 2022
Browsable web APIs for Flask.

Flask API Browsable web APIs for Flask. Status: This project is in maintenance mode. The original author (Tom Christie) has shifted his focus to API S

Flask API 1.3k Jan 05, 2023
A Python chat app built with Flask that runs in the browser.

A Python chat app built with Flask that runs in the browser. Designed for local area networks that are not connected to the Internet.

Leonard Kleber 1 Dec 23, 2021
A gRpc server like Flask (像Flask一样的gRpc服务)

Mask A gRpc server just like Flask. Install Mask support pypi packages, you can simply install by: pip install mask Document Mask manual could be fou

吴东 16 Jun 14, 2022
Learn python and flask,just a tony blog system

flaskblog Learn python and flask,just a tony blog system based on flask and mysql It is similar to cleanblog, a blog system based on flask and mongoen

shin 174 Dec 01, 2022