docker-flask-example VS full-stack-fastapi-template

Compare docker-flask-example vs full-stack-fastapi-template and see what are their differences.

docker-flask-example

A production ready example Flask app that's using Docker and Docker Compose. (by nickjj)

full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more. (by tiangolo)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
docker-flask-example full-stack-fastapi-template
31 28
549 22,914
- -
7.8 9.4
12 days ago 4 days ago
Python TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

docker-flask-example

Posts with mentions or reviews of docker-flask-example. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-19.
  • We Have to Talk About Flask
    4 projects | news.ycombinator.com | 19 Oct 2023
    I've been maintaining my Build a SAAS App with Flask video course[0] for 8 years. It has gone from pre-1.0 to 2.3 and has been recorded twice with tons of incremental updates added over the years to keep things current.

    In my opinion tutorial creators should pin their versions so that anyone taking the course or going through the tutorial will have a working version that matches the video or written material.

    I'm all for keeping things up to date and do update things every few months but rolling updates don't tend to work well for tutorials because sometimes a minor version requires a code change or covering new concepts. As a tutorial consumer it's frustrating when the content doesn't match the source code unless it's nothing but a version bump.

    I've held off upgrading Flask to 3.0 and Python 3.12 due to these open issues with 3rd party dependencies https://github.com/nickjj/docker-flask-example/issues/17.

    [0]: https://buildasaasappwithflask.com/

  • Working with Docker Containers Made Easy with the Dexec Bash Script
    5 projects | news.ycombinator.com | 26 Jun 2023
    I usually end up with project specific "run" scripts which are just shell scripts so I can do things like `./run shell` to drop into the shell of a container, or `./run rails db:migrate` to run a command in a container.

    Here's a few project specific examples. They all have similar run scripts:

        - https://github.com/nickjj/docker-flask-example
  • Looking to use Docker & Docker Compose in production and need advice.
    6 projects | /r/docker | 10 Mar 2023
  • Docker Compose Examples
    14 projects | news.ycombinator.com | 25 Feb 2023
    There's a lot of "tool" selections in that repo.

    If anyone is looking for ready to go web app examples aimed at both development and production, I maintain:

        - https://github.com/nickjj/docker-flask-example
  • starter project?
    5 projects | /r/flask | 15 Feb 2023
    Personally I maintain https://github.com/nickjj/docker-flask-example. There's also https://github.com/nickjj/build-a-saas-app-with-flask if you want more opinions.
  • Act: Run your GitHub Actions locally
    14 projects | news.ycombinator.com | 25 Nov 2022
    This is what I do except I use a shell script instead of a Makefile.

    A working example of this is at: https://github.com/nickjj/docker-flask-example/blob/912388f3...

    Those ./run ci:XXX commands are in: https://github.com/nickjj/docker-flask-example/blob/912388f3...

    I like it because if CI ever happens to be down I can still run that shell script locally.

  • docker-compose file repository?
    8 projects | /r/docker | 20 Oct 2022
  • How boring should your team be
    11 projects | news.ycombinator.com | 15 Oct 2022
    > I've encountered a code written in the 12factor style of using environment variables for configuration, and in that particular case there was no validation nor documentation of the configuration options. Is this typical?

    I don't know about typical, it comes down to how your team values the code they write.

    You can have a .env.example file commit to version control which explains every option in as much or as little detail as you'd like. For my own personal projects, I tend to document this file like this https://github.com/nickjj/docker-flask-example/blob/main/.en....

  • The Unreasonable Effectiveness of Makefiles
    12 projects | news.ycombinator.com | 12 Aug 2022
    I did this for a while but make isn't well suited for this use case. What I end up doing is have a shell script with a bunch of functions in it. Functions automatically becomes a callable a command (with a way to make private functions if you want) with pretty much no boiler plate.

    The benefit of this is it's just shell scripting so you can use shell features like $@ to pass args to another command or easily source and deal with env vars.

    I've written about this process at https://nickjanetakis.com/blog/replacing-make-with-a-shell-s... and an example file is here https://github.com/nickjj/docker-flask-example/blob/main/run.

  • Flask boilerplate project recommendation?
    5 projects | /r/flask | 1 Aug 2022
    There's: https://github.com/nickjj/docker-flask-example

full-stack-fastapi-template

Posts with mentions or reviews of full-stack-fastapi-template. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-30.
  • Building a Secure API with FastAPI, PostgreSQL, and Hanko Authentication
    5 projects | dev.to | 30 Oct 2023
    This project is a modification of the authentication flow of the awesome repository made by tiangolo at full-stack-fastapi-postgresql
  • Do you know any quality FastAPI starter projects?
    6 projects | /r/flask | 10 Oct 2023
  • What is a sensible way to go about designing an authentication microservice?
    3 projects | /r/Backend | 6 Jul 2023
    FastAPI with a PostgreSQL database: https://github.com/tiangolo/full-stack-fastapi-postgresql/tree/master
  • Faster way to kickstart and develop backend REST apis?
    4 projects | /r/Backend | 28 Jun 2023
  • Is a Framework like Django possible in Rust
    4 projects | /r/rust | 6 Jun 2023
    Ha! I do write SQL since that's where I cut my teeth many years ago. But I mostly use stored procedures where possible. I prefer not to use ORMs - sorry I don't find that side work... I am not saying Django's was bad or inferior, just do not prefer it. For FastAPI - maybe you missed the various repos with everything you mentioned was missing (there are great ones directly from the maintainer as well as others). No more glue than what you find in all the modules in a large Django project, just maybe in different forms and flavors. Besides, we're here to talk about Rust, making me wonder why we're debating two Python projects. Yes, I fell in love with Django, the romance faded in 2018, and I moved on. Feel free to enjoy using it - I'm not trying to sway you away from it!
  • Is there any open source project that uses FasAPI?
    8 projects | /r/FastAPI | 25 Apr 2023
  • How to build a scalable project file structure for a beginner.
    3 projects | /r/FastAPI | 10 Mar 2023
    I've just recently switched to a structure that follows Netflix's Dispatch application after starting with https://github.com/tiangolo/full-stack-fastapi-postgresql and it feels way better and organized.
  • ORM for FastAPI+PostgreSQL, Tortoise or Sqlalchemy? what would you choose and why?
    3 projects | /r/Python | 29 Jan 2023
  • Creating a webpage for data entry
    1 project | /r/learnpython | 28 Jan 2023
    Honestly your easiest option for data gathering would be to create google spreadsheets/forms and give each municipality access. For a custom data entry platform I suggest looking for templates like this one and learning how to add custom logic to the boilerplate: https://github.com/tiangolo/full-stack-fastapi-postgresql
  • FastAPI Best Practices
    4 projects | /r/Python | 18 Aug 2022
    I would encourage you to take a look at this repo: https://github.com/tiangolo/full-stack-fastapi-postgresql This is a boilerplate of an application made with fastapi, prepared by the creator of the fastapi himself. You can even set it up yourself locally and have a look how it’s organised. I know it has a lot of different services included, but I find the fastapi part itself to be well thought. Inside the api directory you can notice another folder named api_v1, so you can have multiple versions of your API routes when needed, with the general code in other places that is more generic and can be reused in all your different API versions. The schemas are separated from the models and models itself have different classes depending on what you would actually like to do with the data. The migrations are managed with alembic based on schemas rather than models itself. The settings are a python class that implicitly reads the .env file in your project’s directory. And many, many other interesting patterns to explore. Too much to write in one comment to be honest.

What are some alternatives?

When comparing docker-flask-example and full-stack-fastapi-template you can also consider the following projects:

mangum - AWS Lambda support for ASGI applications

fastapi-starter - A FastAPI based low code starter/boilerplate: SQLAlchemy 2.0 (async), Postgres, React-Admin, pytest and cypress

build-a-saas-app-with-flask - Learn how to build a production ready web app with Flask and Docker.

fastapi-react - 🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

earthly - Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.

uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.

postgres-and-redis - 🗄 PostgreSQL + Redis. Self-Hosted. Docker + Traefik + HTTPS.

cookiecutter-djangopackage - A cookiecutter template for creating reusable Django packages quickly.

cookiecutter-flask - A flask template with Bootstrap, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.

fastapi-users - Ready-to-use and customizable users management for FastAPI

docker-phoenix-example - A production ready example Phoenix app that's using Docker and Docker Compose.

docker-celery-flower - Minimum docker/fastapi/celery/flower setup