Before you start
This course assumes Next.js Intermediate, including validated mutations, HTTP contracts, async work and tests. Comfortable reading JavaScript functions and test assertions.
Plan around 60–100 minutes of active study each day. Predict, run and change the examples before attempting the independent checkpoint. Longer projects can take more than one session.
Browser labs use a Next.js simulator. Policy examples are explicit executable models; they do not establish production authentication, caching or database guarantees. Day 7 includes a real Next.js and SQLite project for Node.js 22.13 or newer. Its fixed actor is a teaching fixture, not authentication.
Pilot: all seven days are written, and the pacing is still being tested with learners. If something is unclear, please report it.
Day 1 · About 96 minutes
Access and Data Boundaries
Enforce tenant and actor policies at every server entry point.
- Authorization Starts with Denial18 min · Read, predict and practice
- Derive the Actor at the Server Boundary18 min · Read, predict and practice
- Minimize What Leaves the Server18 min · Read, predict and practice
- Private Cache Keys Need the Whole Identity18 min · Read, predict and practice
- Checkpoint: An Access Matrix24 min · Independent checkpoint
Day 2 · About 96 minutes
Integrity Under Concurrency
Design atomic batches, version checks and scoped idempotency.
- Validate a Batch Before Committing It18 min · Read, predict and practice
- A Version Detects a Lost Update18 min · Read, predict and practice
- Idempotency Belongs to an Actor and a Payload18 min · Read, predict and practice
- Bound Work Before an Import Starts18 min · Read, predict and practice
- Checkpoint: An Atomic Versioned Batch24 min · Independent checkpoint
Day 3 · About 96 minutes
Service Contracts
Define stable errors, cursor pages and conditional writes.
- Version a Service’s Error Vocabulary18 min · Read, predict and practice
- Paginate from a Stable Cursor18 min · Read, predict and practice
- Use Preconditions for Conditional Writes18 min · Read, predict and practice
- An Error Response Is a Public Projection18 min · Read, predict and practice
- Checkpoint: A Private Cursor Page24 min · Independent checkpoint
Day 4 · About 96 minutes
Resilient Work
Bound deadlines and retries, propagate cancellation and show incomplete data.
- One Operation Needs One Deadline18 min · Read, predict and practice
- Retry Only When the Contract Allows It18 min · Read, predict and practice
- Partial Success Must Be Visible18 min · Read, predict and practice
- Cancellation Has an Owner18 min · Read, predict and practice
- Checkpoint: A Bounded Retry Decision24 min · Independent checkpoint
Day 5 · About 96 minutes
Production Rendering Policies
Reason about identity, cache scope and what a simulator cannot verify.
- A Cache Needs an Expiry Policy18 min · Read, predict and practice
- Layout State and Template State Have Different Lifetimes18 min · Read, predict and practice
- Canonical URLs Need an Allowlist18 min · Read, predict and practice
- Audit What the Simulator Cannot Show18 min · Read, predict and practice
- Checkpoint: A Representation Cache Policy24 min · Independent checkpoint
Day 6 · About 96 minutes
Operational Evidence
Test rejections, structure logs and rehearse recovery.
- Test the Rejected Operation Too18 min · Read, predict and practice
- Log an Event, Not a Secret18 min · Read, predict and practice
- Liveness and Readiness Answer Different Questions18 min · Read, predict and practice
- Prove a Data Change Can Be Recovered18 min · Read, predict and practice
- Checkpoint: A Release Gate24 min · Independent checkpoint
Day 7 · About 100 minutes
Ship the Review Queue
Verify a service boundary, run local persistence checks and build independently.
- The Review Queue25 min · Read, predict and practice
- Run and Test the Real Project20 min · Read, predict and practice
- Extend the API with Preconditions25 min · Read, predict and practice
- On Your Own: An Activity Feed30 min · Independent checkpoint
- Come Back Later20 min · Return in a few days · extra practice