Integration Cheatsheet 01 — Full-Stack Project Skeleton
Cheatsheet: directory layout, pyproject, lifespan, db / settings / models / api wiring.
Cheatsheet: directory layout, pyproject, lifespan, db / settings / models / api wiring.
Cheatsheet: trace a request from socket to response through all four libraries.
Cheatsheet: schema vs model separation, partial updates, ORM-to-API conversion, nested relations.
Cheatsheet: model change → autogenerate → review → upgrade → ship.
Cheatsheet: full auth stack — User model, login endpoint, token deps, refresh, password hashing.
Cheatsheet: tenant context, RLS policies, per-request session, isolation tests.
Cheatsheet: enqueue from request, worker with DB session, outbox + LISTEN/NOTIFY wake-up.
Cheatsheet: pytest setup, AsyncClient, real Postgres via testcontainers, factories, drift, migrations.
Cheatsheet: Dockerfile, K8s Deployment, migration Job, secrets, probes, graceful shutdown.
Cheatsheet: structlog with trace IDs, OTEL auto-instrumentation, Prometheus, slow-query log.