You already know data shapes
Tables ≈ typed collections, rows ≈ objects, JOINs ≈ nested includes. I'll map SQL to the JSON you already fetch every day.
Notes-style walkthrough of SQL - so APIs, ORMs, and "why is this list slow" stop feeling like magic.
I've written this as if I'm leaving notes for myself - a front-end person who knows fetch, filter state, pagination, and nested API payloads… but has mostly treated the database as "backend stuff".
If you've shipped React/Vue/Svelte and you want to understand what sits under /api/contacts?page=2&q=ada, you're in the right place.
examples/crm/ when we get therenpm install
npm run docs:devAnd for SQL bits:
sqlite3 examples/crm/crm.db < examples/crm/schema.sqlWe're here for reading SQL confidently and designing a schema that matches a UI you might actually build.
Wish you all the best - hope you're gonna enjoy the ride.
Best,
-- ł.