Guides · read, then play
Backend guides.
The briefings from the Backend District, open to read. Each one ends with the games that let you try it on a real FastAPI server.
- The Academy · 6 min read
Python for JavaScript developers: the FastAPI survival kit
Variables without let or const, dicts vs objects, functions, classes with type hints and async/await: the Python a JavaScript developer needs for FastAPI.
Read the guide - The Signal Tower · 6 min read
How HTTP requests work: methods, status codes and statelessness
Client and server, the anatomy of an HTTP request, GET vs POST vs PUT vs DELETE, what status codes like 200, 404 and 500 mean, and why every request stands alone.
Read the guide - The Router Station · 6 min read
FastAPI routing: path parameters, query parameters and route order
How a route is a method plus a path, when to use path vs query parameters in FastAPI, and why route order matters.
Read the guide - The Gatehouse · 5 min read
Request validation in FastAPI with Pydantic: why bad input gets a 422
Why you never trust a request, describing input with a Pydantic model, adding limits with Field(), and reading the 422 response FastAPI sends when validation fails.
Read the guide - The Data Vaults · 7 min read
SQL for backend developers: SELECT, JOIN and avoiding SQL injection
Tables and rows, SELECT / WHERE / ORDER BY, parameterized queries instead of pasted input (SQL injection), and JOIN to answer from two tables.
Read the guide - The Data Vaults · 8 min read
Changing data safely: INSERT, GROUP BY, constraints and transactions
INSERT with parameters, GROUP BY and HAVING (and the N+1 query problem), CHECK constraints, and all-or-nothing transactions.
Read the guide