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)
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
- Index (Home)
- Site Structure
- External Reference Guide
- Theme tabs
- Node / Express
- Server Architecture / Routes
- SQL / Knex
- Backend Deployment / CORS
- Misc / Other
How to use this reference
- Read Site Structure and External Reference Guide in the Guide sidebar.
- Choose a theme tab matching what you are building (Express, routes, SQL, deployment).
- Open a function-type page (e.g. Router) for grouped patterns.
- Open a topic card for the canonical snippet, description, and extra links.