Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
cookiecutter-flask
A flask template with Bootstrap, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.
I came across (flask-base)[https://github.com/hack4impact/flask-base], which is a nice and robust boilerplate for large flask apps, you could use this as a reference point.
Cookiecutter flask is a template for large projects, it’s always a great place to start and compare against https://github.com/cookiecutter-flask/cookiecutter-flask
Optionally, but I recommend, use something like flask_injector to do dependency injection into your routes so you don't need to worry about creating the services in your route endpoints. This is kind of invasive because of the inject decorator and does require using type hints.
In terms of best practices and tips, this repo https://github.com/nickjj/docker-flask-example has everything I've ever learned using Flask for the last 5-6 years.
There's a number of projects listed here: https://github.com/mjhea0/awesome-flask#open-source-projects