FastAPI from Zero: The Textbook (Edition 1, Basics)FastAPI from Zero: The Textbook (Edition 1, Basics), image 2FastAPI from Zero: The Textbook (Edition 1, Basics), image 3FastAPI from Zero: The Textbook (Edition 1, Basics), image 4

FastAPI from Zero: The Textbook (Edition 1, Basics)

$1.99$5.9967% off

Build your first real API with Python, even if you have never built one.

FastAPI from Zero is a step-by-step textbook. Nine chapters take you from "what is an API?" to a finished, tested project.

What you will learn

• HTTP, JSON and status codes in plain English

• Setting up: virtual environments, installing, running, the interactive docs

• Python foundations: type hints, classes, enums, async/await

• Routing with path and query parameters, and APIRouter

• Pydantic models and validation, including how to read a 422 error

• Responses, status codes and custom exception handlers

• Dependencies: reusable logic with yield cleanup

• A capstone: build the Bookshelf API from scratch

Inside the book

51 code listings you can type and run · review questions and practice problems in every chapter · a full answer key · syntax cheat sheet · HTTP status code reference · troubleshooting guide · four-week study plan · glossary and index

Who it is for

Students, career changers and developers with basic Python who want a clear path into backend development.

What you get

Instant PDF download of Edition 1 (Basics).

Part of a three-book series. Edition 2 covers databases, authentication, testing and deployment. Edition 3 covers architecture, security and production operations.

Get the book and build your first API today.

What you'll get

  • HTTP in plain English: requests, responses, JSON and status codes.
  • Set up properly: virtual environments, installing, running and the interactive docs.
  • Python foundations: type hints, classes, enums and async/await.
  • Routing: path and query parameters, plus APIRouter.
  • Pydantic and validation: request bodies, nested models, Field and custom validators.
  • Responses and errors: response_model, status codes and custom exception handlers.
  • Dependencies: reusable logic, classes as dependencies, cleanup with yield.
  • Capstone and answers: build the Bookshelf API and check every exercise against the answer key.

About the creator

Mohammed Mubarak
Mohammed Mubarak

EBook

🏬 Visit store
$1.99
$5.99