Start here. This is the direct spoken answer to practice first.
Overview
The useful interview answer explains both what FastAPI is and which backend boundaries it handles.
FastAPI is a Python web framework for building APIs on the ASGI interface. It uses Starlette for web and ASGI behavior and Pydantic for typed validation and serialization. From ordinary Python function signatures and type annotations, it can extract request data, validate it, resolve dependencies, shape responses, and generate an OpenAPI document. It removes a lot of transport plumbing, but application rules, persistence, authorization decisions, and operational design still belong to the application.