Skip to main content

Backend

Python with FastAPI is the default for new personal, freelance, SaaS, and open-source projects. Java with Spring Boot stays for enterprise and JVM environments; its standards are TBD.

PageCovers
Python standardsVersion, tooling, typing, naming, environments
FastAPI structureFeature layout, layers, composition root, Docker
REST APIVersioning, JSON, errors, pagination
Database and migrationsPostgreSQL, SQLAlchemy, Alembic
LoggingStructured logs, correlation IDs, PII

Do not impose these on Flask or Django projects, small scripts, notebooks, or legacy code that follows another established architecture.