This reference distills the backend program into reusable patterns—each topic includes a short lesson (why and when), a canonical code sample from the course, supplementary examples you can copy, and links to official docs. Use the Guide sidebar for orientation, then open a theme tab to study by area.

Site Structure

This site is organized in three layers: Guide pages (you are here), theme tabs for major backend areas, and function-type pages that group related how-to topics. Each topic has one canonical code example plus up to four external references.

Request flow (typical Express API)
Client → CORS / JSON middleware → Router → Controller → Service → Knex/SQL → Database
Controller reads: req.params (path), req.query (?string), req.body (JSON POST/PUT)
Errors ← errorHandler ← notFound (unknown paths)

Navigation map

How to use this reference

  1. Read Site Structure and External Reference Guide in the Guide sidebar.
  2. Choose a theme tab matching what you are building (Express, routes, SQL, deployment).
  3. Open a function-type page (e.g. Router) for grouped patterns.
  4. Open a topic card for the canonical snippet, description, and extra links.