Support

Curriculum

The Complete 30-Chapter Roadmap

Four parts, six projects, three build milestones. By Chapter 13 you have shipped a production CLI, and from Chapter 20 your work is live on the internet.

Prerequisites
Basic Python: functions, loops, and dictionaries. Everything else is taught from scratch.
Format
A web-based book you read in the browser. Short pages, runnable code, and a review page per chapter.
You'll work with
requests, OAuth 2.0, Flask, FastAPI, SQLite, PostgreSQL, Docker, AWS, and CI/CD.
Try before you buy
Chapters 3, 14, and 15 are free to read in full.
Part I

Foundations & Core Skills

By the end of Part I you can call any API safely: keys protected, errors handled, responses validated. It ends with the production weather CLI.

01
How Modern Applications Really Work

Read any REST URL, JSON response, and status code, and know who is at fault when a call fails.

02
Setting Up Your Development Environment

Set up an isolated Python environment and prove it works with a live API call.

03
Your First API Call Free Chapter

Fetch live data with requests, parse the JSON, and guard every call with a timeout.

04
Safe and Reliable API Requests

Validate responses layer by layer and download binary files without corrupting them.

05
HTTP Methods - Beyond Reading Data

Run full CRUD against any REST API with safe, idempotent write functions.

06
Working with Complex JSON Structures

Write defensive JSON extractors that survive missing keys, nulls, and wrong types.

07
Using API Keys Safely

Keep secrets out of git with the .env pattern and handle 401, 403, and 429 cleanly.

08
Coordinating Multiple APIs

Chain two real APIs behind validation gates so one failure cannot crash the other.

09
Production Error Handling

Add retries with exponential backoff and jitter, plus logging that tells you what broke.

10
Advanced JSON Processing

Normalise two incompatible vendor formats into one canonical structure.

11
News Aggregator Case Study

Query three news APIs, merge and deduplicate the results, and survive partial failures.

12
API Data Validation

Build a three-layer validation pipeline and place it at the right boundary.

13
Production-Ready Weather Dashboard Capstone Build Milestone

Rebuild a fragile script as a four-layer production CLI with a full test suite.

Part II

Full-Stack Integration

By the end of Part II you have a full web app with OAuth login, a database, and a test suite, deployed at a live URL.

14
OAuth and Authentication Fundamentals Free Chapter

Log a user in with OAuth 2.0 (state, PKCE, scopes) without touching their password.

15
Database Fundamentals with SQLite Free Chapter

Cache API responses in SQLite and answer historical questions with SQL.

16
Building the Spotify Music Time Machine

Build an OAuth-authenticated Spotify app with a real schema and mocked tests.

17
Flask Web Development & Building Your Dashboard

Map URLs to functions, render templates, and serve pages from your database with Flask.

18
Building the Music Time Machine Web App

Turn the terminal project into a full dashboard with charts and CSRF-protected forms.

19
Testing Your Application

Test a real Flask, OAuth, and SQLite app with mocks, fixtures, and CI on every push.

20
Deployment and Portfolio Presentation Live URL Milestone

Take the app to a live HTTPS URL and present it with an interview-ready README.

Part III

Professional API Techniques

By the end of Part III you can handle file uploads, webhooks, and async fan-out, the techniques real integrations demand.

21
File Uploads and Binary Data

Handle validated file uploads and stream multi-gigabyte files with flat memory use.

22
Webhooks and Real-Time APIs

Receive webhooks with verified signatures, idempotency, and a background worker.

23
Asynchronous API Calls

Fan out API calls with async so ten requests cost the wall-clock time of one.

Part IV

Production & Cloud

By the end of Part IV your own FastAPI service runs on AWS in Docker, shipped automatically by CI/CD.

24
From SQLite to PostgreSQL

Migrate SQLite to PostgreSQL with connection pooling and version-controlled schema changes.

25
Migrating the Music Time Machine to PostgreSQL

Move the live Spotify app to PostgreSQL, JSONB included, without losing data.

26
Building Your Own REST API

Ship your own FastAPI service with docs, auth, rate limiting, and a test suite.

27
Containerization and Local Orchestration

Package the API with Docker and orchestrate it with Postgres and Redis locally.

28
AWS Production Deployment

Stand up ECS Fargate, RDS, and a load balancer serving real public traffic on AWS.

29
Production Operations and Automation

Automate deploys with CI/CD, dashboards, alarms, auto-scaling, and rollback.

30
Capstone Project - Building Your Production API Scale Milestone

Scope, build, and deploy a capstone API a hiring manager can run.