FastAPI
Last updated
Was this helpful?
Last updated
Was this helpful?
1 hour 22 minutes done from 4 hours
Very fast (built on ASGI unlike flask which is built on WSGI)
in built with swagger UI documentation and ReDoc Documentation
supports pydantic for data validation
Totally Based upon open API (Linux foundation, defines how to create an API) and json schema
Starlette features
Supports - SQL, NoSQL, graphQL
works with gunicorn
jwt authentication
Python version should be 3.6+
pip install fastapi[all]
pip install gunicorn
pip install uvicorn[standard]
from pydantic import BaseModel
FastAPI reads the file line-by-line so if there is any error at the start, we don't reach to the lower part of the file
4 hour long video: