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
REST API built using flask framework that used for managing bookmarks by individual users.

Bookmarks REST API REST API built using flask framework that used for managing bookmarks by individual users. API Consumers Note This app is built usi

Venkatesh Tantravahi 1 Dec 27, 2021
Cross Origin Resource Sharing ( CORS ) support for Flask

Flask-CORS A Flask extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible. This package has a simple philosoph

Cory Dolphin 803 Jan 01, 2023
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 U

248 Dec 26, 2022
Implement Instagram with flask

Blue club The place where manly men live and breathe. Move to Notion Move to Fig

3 Apr 07, 2022
iloveflask is a Python library to collect functions that help a flask developer generate reports, config files and repeat code.

I Love Flask iloveflask is a Python library to collect functions that help a flask developer generate reports, config files and repeat code. Installat

2 Dec 29, 2021
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
Python3🐍 webApp to display your current playing music on OBS Studio.

Spotify Overlay A Overlay to display on Obs Studio or any related video/stream recorder, the current music that is playing on your Spotify. Installati

carlitos 0 Oct 17, 2022
Neo4j Movies Example application with Flask backend using the neo4j-python-driver

Neo4j Movies Application: Quick Start This example application demonstrates how easy it is to get started with Neo4j in Python. It is a very simple we

Neo4j Examples 309 Dec 24, 2022
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
Flask 文档中文翻译

Flask 中文文档 这里是 Flask 文档中文翻译项目,欢迎参与! 在开始翻译之前,请务必阅读下面的 Contributing Guide 了解贡献流程,然后阅读这个 Issue 了解翻译要求,在这个 Discussion 投票选出你认为合适的翻译词汇,在这个 Discussion 投票选出你喜

Grey Li 93 Nov 28, 2022
An extension to add support of Plugin in Flask.

An extension to add support of Plugin in Flask.

Doge Gui 31 May 19, 2022
A simple barcode and QR code generator built in Python with Flask.

✨ Komi - Barcode & QR Generator ✨ A simple barcode and QR code generator built in Python with Flask. 📑 Table of Contents Usage Installation Contribut

Bonnie Fave 2 Nov 04, 2021
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
Find and notify users in your Active Directory with weak passwords

Crack-O-Matic Find and notify users in your Active Directory with weak passwords. Features: Linux-based Flask-based web app Hashcat or John cracker Au

Adrian Vollmer 92 Dec 31, 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
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
Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.

The Mixer is a helper to generate instances of Django or SQLAlchemy models. It's useful for testing and fixture replacement. Fast and convenient test-

Kirill Klenov 870 Jan 08, 2023
A web application for a fake pizza store, built in Python with Flask and PostgreSQL.

✨ Pizza Pizza - Pizza Store ✨ A web application for a fake Pizza Store, the app let you create an account and order pizza, complements or drinks. Buil

Bonnie Fave 6 Dec 18, 2022
i18n and l10n support for Flask based on Babel and pytz

Flask Babel Implements i18n and l10n support for Flask. This is based on the Python babel module as well as pytz both of which are installed automatic

397 Dec 15, 2022
RestApi_flask_sql.alchemy - Product REST API With Flask & SQL Alchemy

REST API With Flask & SQL Alchemy Products API using Python Flask, SQL Alchemy and Marshmallow Quick Start Using Pipenv # Activate venv $ pipenv shell

amirwahla 1 Jan 01, 2022