This repository is a FastAPI starter template/reference named fast-api-starter.
- Do not reshape this into Clean Architecture.
- Keep the layout idiomatic for FastAPI:
api,core,models,schemas,repositories, andservices. - Use
uvfor dependency management and command execution. - Use Pydantic models for API request/response schemas and settings.
- Use async SQLAlchemy for persistence.
- Keep endpoint functions small and delegate business work to services.
- Keep tests in
tests/and use pytest. - Use Ruff for formatting and linting.
- Prefer explicit, readable Python over clever abstractions.