<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>The FastAPI Textbook on Manvendra Rajpoot</title>
    <link>https://blog.rajpoot.dev/textbooks/fastapi/</link>
    <description>Recent content in The FastAPI Textbook on Manvendra Rajpoot</description>
    <image>
      <title>Manvendra Rajpoot</title>
      <url>https://blog.rajpoot.dev/img/personal/cover.png</url>
      <link>https://blog.rajpoot.dev/img/personal/cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Manvendra Rajpoot</copyright>
    <atom:link href="https://blog.rajpoot.dev/textbooks/fastapi/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>FastAPI Textbook Ch. 1 — Introduction, Architecture, and the ASGI Foundation</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/01-introduction-and-architecture/</link>
      <pubDate>Wed, 06 May 2026 06:00:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/01-introduction-and-architecture/</guid>
      <description>Chapter 1 of the FastAPI textbook — what FastAPI is, the ASGI foundation, Starlette underneath, and how the pieces fit.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 2 — Routing, Path Operations, and the Request Anatomy</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/02-routing-and-request-anatomy/</link>
      <pubDate>Wed, 06 May 2026 06:10:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/02-routing-and-request-anatomy/</guid>
      <description>Chapter 2 — FastAPI routing in depth: path operations, parameter sources, routers, mounts, and the request lifecycle.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 3 — Pydantic Models and Request Validation</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/03-pydantic-models-validation/</link>
      <pubDate>Wed, 06 May 2026 06:20:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/03-pydantic-models-validation/</guid>
      <description>Chapter 3 — Pydantic for FastAPI: input models, validators, types, custom errors, and how request bodies become typed Python objects.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 4 — Response Models, Serialization, and Output Discipline</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/04-response-models-serialization/</link>
      <pubDate>Wed, 06 May 2026 06:30:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/04-response-models-serialization/</guid>
      <description>Chapter 4 — Response models in FastAPI: response_model, exclusion, computed fields, custom encoders, and output discipline.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 5 — Dependency Injection in Depth</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/05-dependency-injection/</link>
      <pubDate>Wed, 06 May 2026 06:40:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/05-dependency-injection/</guid>
      <description>Chapter 5 — FastAPI dependency injection: Depends, sub-dependencies, scopes, lifecycle, overrides, class deps, security deps, sync vs async.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 6 — Authentication and Authorization</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/06-authentication-authorization/</link>
      <pubDate>Wed, 06 May 2026 06:50:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/06-authentication-authorization/</guid>
      <description>Chapter 6 — FastAPI auth: OAuth2 password / bearer / OIDC, sessions, API keys, role-based access, and the production patterns.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 7 — Async, Concurrency, and the Threadpool</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/07-async-concurrency/</link>
      <pubDate>Wed, 06 May 2026 07:00:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/07-async-concurrency/</guid>
      <description>Chapter 7 — Async in FastAPI: event loop, threadpool, blocking traps, AnyIO, TaskGroup, and concurrency patterns.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 8 — WebSockets, SSE, and Streaming Responses</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/08-websockets-sse-streaming/</link>
      <pubDate>Wed, 06 May 2026 07:10:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/08-websockets-sse-streaming/</guid>
      <description>Chapter 8 — Real-time in FastAPI: WebSockets, Server-Sent Events, streaming responses, NDJSON, and client patterns.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 9 — Background Tasks and Task Queues</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/09-background-tasks/</link>
      <pubDate>Wed, 06 May 2026 07:20:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/09-background-tasks/</guid>
      <description>Chapter 9 — Background work in FastAPI: BackgroundTasks, ARQ, Celery, Dramatiq, and patterns for reliable post-response work.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 10 — Testing FastAPI: Pytest, AnyIO, and Real DBs</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/10-testing/</link>
      <pubDate>Wed, 06 May 2026 07:30:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/10-testing/</guid>
      <description>Chapter 10 — Testing FastAPI: TestClient, AsyncClient, dependency overrides, real DB tests, fixtures, and CI patterns.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 11 — Observability: Logging, Tracing, and Metrics</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/11-observability/</link>
      <pubDate>Wed, 06 May 2026 07:40:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/11-observability/</guid>
      <description>Chapter 11 — Observability for FastAPI: structured logging with structlog, OpenTelemetry tracing, Prometheus metrics, and correlation.</description>
    </item>
    <item>
      <title>FastAPI Textbook Ch. 12 — Deployment, Scaling, and Production</title>
      <link>https://blog.rajpoot.dev/textbooks/fastapi/12-deployment-production/</link>
      <pubDate>Wed, 06 May 2026 07:50:00 +0530</pubDate>
      <guid>https://blog.rajpoot.dev/textbooks/fastapi/12-deployment-production/</guid>
      <description>Chapter 12 — Production FastAPI: ASGI servers, Docker, K8s, autoscaling, graceful shutdown, and the production checklist.</description>
    </item>
  </channel>
</rss>
