Modern, fast, and production-ready FastAPI application structure.
fastapi_app/
├── app/
│ ├── __init__.py
│ ├── main.py
│ ├── api/
│ │ ├── __init__.py
│ │ └── v1/
│ ├── core/
│ │ ├── config.py
│ │ └── security.py
│ ├── models/
│ ├── schemas/
│ └── db/
├── tests/
├── requirements.txt
├── .env.example
└── README.md
pip install -r requirements.txt.env.example to .env and configureuvicorn app.main:app --reloadpytestGET / - Root endpointGET /health - Health checkGET /docs - Swagger UI documentationGET /redoc - ReDoc documentation