A Stepshala publication
Next.js,
Step by Step.
From the App Router to a server-rendered, full-stack app: 5 stages, 18 parts, two real projects, and a specialization track of your choice — every example scaffolded and run against the course's own Next.js 16 harness before publication.
Part 1 · Project setup and the App Router mental model
Stage 1 · The App RouterFig. 01
How to use this guide
Study one part at a time: read the lesson, run the examples against the course's shared harness app, solve the exercises, then move on.
New here? See how every part is organised and how to study — Stage 1 overview
Five stages
Foundations through production and specialization, in order.
Stage 1: App Router Foundations
The App Router mental model, file-based routing, layouts, navigation, and metadata — no rendering-model or data-fetching concepts yet.
Stage 2: The Rendering Model
Server Components by default, the Client Component boundary, streaming with Suspense, and Next.js's rendering philosophy — then the Recipe Box capstone.
Stage 3: Data, Caching and Mutations
Data fetching in Server Components, caching with Cache Components, revalidation, and Server Actions and forms.
Stage 4: Full-Stack Next.js
Route Handlers, middleware and the request pipeline, an auth pattern, and database integration — then the QuickCart capstone.
Stage 5: Production and Specialization
Testing and quality, then deployment and observability — then pick one specialization track.
Practice and reference
Build something real, then keep the specialization tracks close by.