FastAPI: The Textbook (Edition 2, Intermediate)FastAPI: The Textbook (Edition 2, Intermediate), image 2FastAPI: The Textbook (Edition 2, Intermediate), image 3FastAPI: The Textbook (Edition 2, Intermediate), image 4

FastAPI: The Textbook (Edition 2, Intermediate)

$1.99$8.9978% off

Turn your working FastAPI app into a service you can ship.

Edition 2 covers what real backend work needs. Eleven chapters, one growing project.

What you will learn

• Project structure and configuration for a real service

• Databases with SQLModel, schemas, relationships and queries

• Schema migrations with Alembic

• Authentication: password hashing and JWT tokens

• Authorization: who may do what

• Middleware, CORS and consistent error handling

• Background work and async

• Testing in depth, and deploying with containers

• A tested capstone: Bookshelf API v2

Inside the book

56 code listings · review questions and practice problems in every chapter · a full answer key · Edition 1 recap · cheat sheet · security checklist · troubleshooting guide · study plan · glossary and index

Who it is for

Developers who have built a basic FastAPI app (for example with Edition 1) and want to make it production-minded.

What you get

Instant PDF download of Edition 2 (Intermediate).

Get the book and ship your next API with confidence.

What you'll get

  • From script to service: project structure and configuration.
  • Databases with SQLModel: define models, create tables and query a real database.
  • Schemas and relationships: keep API schemas separate from tables.
  • Migrations with Alembic: evolve your schema with versioned migrations.
  • Passwords and tokens: hash passwords, issue JWT tokens, protect endpoints.
  • Authorization: ownership, admin rules and scopes.
  • Middleware and background work: CORS, consistent errors, background tasks and async.
  • Test, deploy, ship: testing in depth, containers and the Bookshelf API v2 capstone.

About the creator

Mohammed Mubarak
Mohammed Mubarak

EBook

🏬 Visit store
$1.99
$8.99
FastAPI: The Textbook (Edition 2, Intermediate) by Mohammed Mubarak