Skip to content

Instantly share code, notes, and snippets.

@iuriguilherme
iuriguilherme / app.py
Last active January 17, 2024 16:40
FastAPI and Quart together
#!/usr/bin/env python
## FastAPI is a great tool for... fast APIs... but there are better
## solutions for web apps such as Django, Web2Py and Flask. Talking
## about Flask, there is the Quart project which aims to be the full
## async version of Flask that you can use today.
##
## I have read the following documentation to reach the result of this
## gist:
##
## * <https://fastapi.tiangolo.com/tutorial/middleware/>