Next.js & Full-Stack Web
Build production full-stack React applications with Next.js App Router, Server Components, Server Actions, Route Handlers, authentication, database integration, and deployment.
What you'll build & master
- ✓ Structure scalable apps using App Router file conventions, nested layouts, and dynamic routes
- ✓ Keep client bundles tiny by composing React Server Components with focused 'use client' islands
- ✓ Mutate database records safely using Server Actions, Zod validation, and cache revalidation
- ✓ Secure routes with HttpOnly session cookies, middleware, and ship standalone Docker/VPS builds
Course Syllabus
App Router & RSC
- 19 min
App Router, Layouts & File Conventions
Master Next.js App Router folder-based routing, shared nested layouts, and persistent navigation shells.
- 210 min
Server Components vs 'use client' Boundaries
Understand why components in app/ are Server Components by default and where to place 'use client' leaves.
- 39 min
Dynamic Routes, Static Params & SEO Metadata
Create dynamic [slug] pages, pre-render static paths with generateStaticParams, and generate per-page OpenGraph metadata.
Data & Streaming
- 110 min
Async Data Fetching & Cache Revalidation
Fetch data directly inside async Server Components and refresh stale data cleanly with revalidatePath and revalidateTag.
- 29 min
Streaming with Suspense, loading.tsx & error.tsx
Show instant skeletons and isolate slow widgets or runtime failures with React Suspense, loading.tsx, and error.tsx.
- 39 min
Route Handlers (route.ts) & JSON APIs
Build REST endpoints, webhooks, and health checks using app/api/.../route.ts with standard Web Request and Response objects.
Mutations & Auth
- 110 min
Server Actions, Progressive Forms & Validation
Handle form submissions and database writes securely using 'use server' actions, Zod validation, and revalidatePath.
- 210 min
Middleware, HttpOnly Cookies & Auth Guards
Protect private dashboards using HttpOnly signed session cookies, middleware redirects, and server-side session checks.
- 310 min
Database Integration, Pooling & Safe Queries
Connect Next.js cleanly to PostgreSQL or SQLite using singleton client pools, parameterized queries, and transactions.
Performance & Deploy
- 18 min
Optimizing Images, Fonts & Core Web Vitals
Eliminate layout shift and speed up Largest Contentful Paint (LCP) using next/image, next/font, and dynamic imports.
- 29 min
Environment Variables, Secrets & Security Headers
Separate server-only secrets from NEXT_PUBLIC_ browser variables and configure security headers in next.config.ts.
- 310 min
Capstone: Standalone Production Deployment
Package a slim standalone Next.js build for Docker or a Linux VPS behind Nginx, or deploy seamlessly to Vercel.