Cards by Chapter

Quick prompts, snippets, and commands tied to each chapter.

Card · Legend

Colour keys and miniature of the global shell.

Chapter: 00-layout

Card · Server Page

Read-only conductor; pass promises to UI.

Chapter: 01-server-action

Card · Client Component

UI + interaction; call server actions, no data authority.

Chapter: 02-client-component

Card · Entity Actions

Single source of truth; Prisma lives only here.

Chapter: 03-entity-actions

Card · Server Actions

Mutation entry: validate → authorize → entity → revalidate.

Chapter: 04-server-actions

Card · Context Provider

UI convenience only; never entity authority.

Chapter: 05-context-provider

Card · API Route

External contract: adapt HTTP → entity actions.

Chapter: 06-api-route

Card · Types & Prisma

Prisma = storage schema; TS = app contracts.

Chapter: 07-types-prisma

Card · Entity-First

One folder per entity; portable internals.

Chapter: 08-entity-first

Card · Deployment

Build → migrate → seed; keep steps explicit.

Chapter: 09-deployment

Card · Next 16 + Prisma 7

Prereqs, adapter setup, and commands for Prisma 7 on Next 16.

Chapter: 10-prisma7-next16

Card · CSS & Tailwind

Mobile-first flex/grid, CSS tokens, Tailwind where it saves time.

Chapter: 11-css-tailwind

Card · Libraries & Accelerators

Pick fewer libraries, review AI output, keep deploy paths explicit.

Chapter: 12-libraries-accelerators

Card · Prisma 7 (Next App Router)

Env, schema, engineType, commands, and upgrade rules for Prisma 7.

Chapter: 11-prisma7

Card · TypeORM

Entities + migrations-first; SQLite dev, Postgres prod.

Chapter: 12-typeorm

Card · Drizzle

SQL-first, type-safe, minimal magic for App Router.

Chapter: 13-drizzle