# Web App Skills: Next.js Lessons From a Real Production Site

> Short Next.js lessons from a live site: server and client components, i18n routing, SEO metadata and API routes, tied to real code and checked to the docs.

URL: https://www.matthewswong.com/en/learn/web-app-skills/

Reviewed on 17 October 2026 · By Matthews Wong (https://www.matthewswong.com/en/about/)

> Next.js is a React framework that renders pages on the server, routes by folder and ships one build for many locales. These lessons teach the parts a production site leans on, each one shown through a real file from this portfolio and checked against the official documentation on its review date.

Free, no sign-up, no certificate. Built from the setup that runs this website.

## What you will be able to do

- Decide what runs on the server and what ships to the browser.
- Build a bilingual, search-friendly page with correct metadata.
- Design an API route that validates input and fails with a useful error.

## Who it is for

Developers who know basic React and want to build and run a production Next.js site.

## Before you start

- Basic React and TypeScript, and Node.js installed.

## Lessons

1. [Server vs Client Components in Next.js for Beginners](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-server-vs-client-components/): Learn Next.js server vs client components with real code: what runs where, the use client boundary, passing children, and what ships to the browser.
2. [next-intl Routing in Next.js: i18n for Beginners](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-i18n-next-intl-routing/): Learn i18n routing with next-intl in Next.js: locale prefix, middleware, getTranslations vs useTranslations, localized Link, static params and hreflang.
3. [Next.js SEO Metadata Tutorial: generateMetadata to JSON-LD](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-seo-metadata-tutorial/): A Next.js SEO metadata tutorial from a live bilingual site: generateMetadata, canonical and hreflang, Open Graph, sitemap.ts, robots.ts and JSON-LD.
4. [Next.js API Route Tutorial: Validate, Rate Limit, Version](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-api-route-handlers-tutorial/): A Next.js API route tutorial from a live site: validate input, rate limit per client, return one JSON error shape, version under /api/v1 and send email.
5. [Static vs Dynamic Rendering in Next.js: Caching Explained](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-static-vs-dynamic-rendering-caching/): Learn static vs dynamic rendering in Next.js: generateStaticParams, revalidate, fetch and route caching, Next 15 defaults, cache headers and real code.
6. [Core Web Vitals in Next.js: next/image and next/font Basics](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-core-web-vitals-image-font/): Learn web performance basics in Next.js: LCP, CLS and INP, next/image sizes and srcset, priority, and next/font, with the real files this site ships.
7. [Next.js Middleware Tutorial: Matcher, Rewrites and Accept](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-middleware-matcher-rewrites/): Learn Next.js middleware with a real file: the matcher, rewrites vs redirects, and Accept header content negotiation that serves Markdown at the same URL.
8. [Test a Next.js Site With node:test and Build Gates](https://www.matthewswong.com/en/learn/web-app-skills/nextjs-testing-node-test-build-gates/): Test a Next.js site without Jest: node:test contract tests, prebuild gates like assertBlogParity, and how to decide what a test guards and a gate does.
9. [Web Accessibility Basics for Beginners in a Next.js Site](https://www.matthewswong.com/en/learn/web-app-skills/web-accessibility-basics-nextjs/): Learn web accessibility basics from a real Next.js site: semantic HTML, keyboard focus, accessible names, contrast thresholds and reduced motion.
10. [Self-Host Next.js: Standalone Output, Docker and Env Vars](https://www.matthewswong.com/en/learn/web-app-skills/self-host-nextjs-standalone-docker/): Learn to self-host Next.js: output standalone, the Docker runner image, build-time vs runtime env vars, NEXT_PUBLIC and a health check, from real files.
11. [Playwright Smoke Test in GitHub Actions: Serve, Wait, Fail](https://www.matthewswong.com/en/learn/web-app-skills/playwright-smoke-test-github-actions/): Add a Playwright smoke test to GitHub Actions: serve the built Next.js app, wait until it answers, install headless Chromium and print the log on failure.

---

- HTML version: https://www.matthewswong.com/en/learn/web-app-skills/
- Bahasa Indonesia: https://www.matthewswong.com/id/learn/web-app-skills/
- Site index for agents: https://www.matthewswong.com/llms.txt
- Sitemap: https://www.matthewswong.com/sitemap.xml
- API description (OpenAPI): https://www.matthewswong.com/openapi.json
