Next.js Roadmap 2026
Build full-stack React apps with Next.js: App Router, Server and Client Components, data fetching, caching, auth and deployment.
4 stages · 8 units · Intermediate · about 60 hours · Last reviewed 19 November 2026
What is a next.js?
Next.js is a React framework for building full-stack web applications. It adds file-based routing, server rendering, data fetching, caching, image and font optimisation, and API endpoints on top of React. Developers use it to ship fast, search-friendly sites and apps, and it is commonly deployed to Vercel or any Node.js host.
Step-by-step next.js roadmap
- 1
App Router Basics
Beginner · about 16 hours
Files become routes.
- Routing
Routing in Next.js App Router means the folders inside the app directory define URLs. A page.js file makes a folder reachable, layout.js wraps child routes, and square brackets mark dynamic segments. It sits at the base of the framework, and Link and useRouter move users between pages.
- Rendering
Rendering in Next.js is the decision of where and when a component turns into HTML. Server Components run only on the server and ship no JavaScript, while Client Components marked with use client hydrate in the browser. Static, dynamic and streamed rendering control when a page is built.
- Routing
- 2
Data and Caching
Intermediate · about 16 hours
Fetch what you need.
- Data
Data in Next.js covers how a page reads and changes information. Server Components can await fetch or a database call directly, and Server Actions let a form or button run a function on the server to write data. Route Handlers expose HTTP endpoints when other clients need an API.
- Caching
Caching in Next.js is the set of stores that avoid repeating work, such as cached fetch results, prerendered pages and the browser-side router cache. Revalidation by time or by tag decides when entries refresh. Built-in image, font and metadata features also reduce payload size and improve search previews.
- Data
- 3
Full-stack Features
Intermediate · about 16 hours
Auth and data stores.
- Auth
Auth in Next.js covers proving who a user is and deciding what they may do. Authentication usually means sessions in secure cookies or signed tokens, often through a library such as Auth.js. Authorisation then checks roles or ownership on the server, in route handlers, Server Actions and data access code.
- Data Stores
Data Stores in Next.js refers to connecting an app to databases and managing configuration safely. Server code talks to Postgres, MySQL or MongoDB through a driver or an ORM such as Prisma or Drizzle. Environment variables hold connection strings, and only names starting with NEXT_PUBLIC_ reach the browser.
- Auth
- 4
Production
Advanced · about 12 hours
Test and deploy.
- Quality
Quality in Next.js means confirming the app works and loads quickly. Unit and component tests run with Jest or Vitest and React Testing Library, while Playwright drives end-to-end flows in a real browser. Performance work targets Core Web Vitals, bundle size, image weight and slow server queries.
- Delivery
Delivery in Next.js is the process of building the app and running it in production. next build compiles the routes, then the app runs on Vercel, a Node.js server, a Docker container or as a static export. Environment variables, caching behaviour and build output differ between these targets.
- Quality
Frequently asked questions
Ready to practise for interviews?
Practise next.js questions with an AI mock interviewer and get feedback on your answers.