Integration Cheatsheet 01 — Full-Stack Project Skeleton

Cheatsheet: directory layout, pyproject, lifespan, db / settings / models / api wiring.

May 16, 2026 · 3 min · 503 words · Manvendra Rajpoot

Integration Cheatsheet 02 — Full Request Lifecycle

Cheatsheet: trace a request from socket to response through all four libraries.

May 16, 2026 · 3 min · 555 words · Manvendra Rajpoot

Integration Cheatsheet 03 — Pydantic ↔ SQLAlchemy Mapping

Cheatsheet: schema vs model separation, partial updates, ORM-to-API conversion, nested relations.

May 16, 2026 · 3 min · 636 words · Manvendra Rajpoot

Integration Cheatsheet 04 — Alembic + FastAPI Workflow

Cheatsheet: model change → autogenerate → review → upgrade → ship.

May 16, 2026 · 3 min · 584 words · Manvendra Rajpoot

Integration Cheatsheet 05 — Auth Stack (Password / JWT / Session)

Cheatsheet: full auth stack — User model, login endpoint, token deps, refresh, password hashing.

May 16, 2026 · 3 min · 599 words · Manvendra Rajpoot

Integration Cheatsheet 06 — Multi-Tenancy Across the Stack

Cheatsheet: tenant context, RLS policies, per-request session, isolation tests.

May 16, 2026 · 3 min · 627 words · Manvendra Rajpoot

Integration Cheatsheet 07 — Background Jobs Across the Stack

Cheatsheet: enqueue from request, worker with DB session, outbox + LISTEN/NOTIFY wake-up.

May 16, 2026 · 3 min · 631 words · Manvendra Rajpoot

Integration Cheatsheet 08 — Testing the Full Stack

Cheatsheet: pytest setup, AsyncClient, real Postgres via testcontainers, factories, drift, migrations.

May 16, 2026 · 3 min · 551 words · Manvendra Rajpoot

Integration Cheatsheet 09 — Deployment Stack (Docker + K8s + Migrations)

Cheatsheet: Dockerfile, K8s Deployment, migration Job, secrets, probes, graceful shutdown.

May 16, 2026 · 3 min · 629 words · Manvendra Rajpoot

Integration Cheatsheet 10 — Observability Stack

Cheatsheet: structlog with trace IDs, OTEL auto-instrumentation, Prometheus, slow-query log.

May 16, 2026 · 3 min · 567 words · Manvendra Rajpoot