Choose a module
Each page has a sidebar table of contents, a progress tracker, diagrams, code you can copy, quizzes and a cheat sheet.
Suggested roadmap
Follow this order if you're starting from scratch. Already know some of it? Skip ahead.
Step 1 · TypeScript basicsTypes, interfaces, functions, unions. Enough to read Next.js code. (TS Level 1)
Step 2 · Next.js frontendComponents, routing, layouts, styling, then Server and Client Components. (Frontend Levels 1–2)
Step 3 · PostgreSQLTables, CRUD, filtering, joins, aggregates. (PostgreSQL Levels 1–2)
Step 4 · BackendConnect Next.js to Postgres, build a CRUD API, validation, Server Actions. (Backend Levels 1–2)
Step 5 · Shared stateContext API first, then Redux Toolkit for bigger apps.
Step 6 · Go advancedAuth, transactions, caching, streaming, indexes, generics, RTK Query. Then build and deploy a full project!
How to read these notes
The same visual language is used on every page.
BasicIntermediateAdvanced
AnalogyA real-world comparison to build intuition.
TipBest practices and shortcuts.
InfoExtra context and version notes.
WarningCommon gotchas.
DangerSecurity issues and data-loss risks.
Track your progress
Click "Mark done" on any section. Progress is saved in your browser and shown on the cards above. Use in the navbar to switch to dark mode.
The stack at a glance
| Layer | Technology | Its job | Notes page |
|---|---|---|---|
| Styling | HTML, CSS, Bootstrap 5 | Layout, components, responsive grid | Frontend → Styling |
| UI | React + Next.js App Router | Pages, components, routing, rendering | Frontend |
| Client state | Context API / Redux Toolkit | Share state across components | Context & Redux |
| API | Route Handlers, Server Actions | Business logic, auth, validation | Backend |
| Database | PostgreSQL (pg / Prisma) | Store data permanently and safely | PostgreSQL |
| Language | TypeScript | Type safety across every layer | TypeScript |