FastAPI β ΡΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΠ²ΠΎΠΈΡ
Π°ΡΠΈΠ½Ρ
ΡΠΎΠ½Π½ΡΡ
ΡΠ΅ΡΠ²ΠΈΡΠΎΠ²/API
Π‘ΡΡΡΠΊΡΡΡΠ° ΠΏΡΠΎΠ΅ΠΊΡΠ°
.
βββ app # "app" is a Python package
β βββ __init__.py # this file makes "app" a "Python package"
β βββ main.py # "main" module, e.g. import app.main
β βββ dependencies.py # "dependencies" module, e.g. import app.dependencies
β βββ routers # "routers" is a "Python subpackage"
β β βββ __init__.py # makes "routers" a "Python subpackage"
β β βββ items.py # "items" submodule, e.g. import app.routers.items
β β βββ users.py # "users" submodule, e.g. import app.routers.users
β βββ internal # "internal" is a "Python subpackage"
β βββ __init__.py # makes "internal" a "Python subpackage"
β βββ admin.py # "admin" submodule, e.g. import app.internal.admin
β βββ requirements.txt
β βββ README.md