Next.js — Installation Guide
Scaffolding a New Project
Open the URL the dev server prints (typically http://localhost:3000) (needs verification — default port, confirm against current docs/output) and you should see the scaffolded starter page.
Project Structure Overview
A freshly scaffolded project separates your route/page code from shared assets and configuration. The exact folder names and conventions are genuinely version-and-paradigm-dependent — do not treat any specific directory name below as fixed without checking:
(needs verification — the exact routing directory name/convention and the exact config file name/format are Next.js API surface that has changed across major versions; confirm against current Next.js docs before treating either as fixed)
Running the Dev Server
The dev server watches your files and updates the browser automatically as you save changes — you generally do not need to manually restart it during normal development. (needs verification — exact current dev-server behavior/flags)
Building for Production
build produces an optimized production build; start runs that build (as opposed to dev, which runs an unoptimized, watch-mode server meant only for local development). (needs verification — exact current build output format and what start actually serves, since deployment targets vary)
Why does this platform teach both a Vite-based React setup AND this Next.js setup?
They solve overlapping but genuinely different problems, which is exactly why both exist in this curriculum rather than one being simply "the newer version" of the other:
A small app, a learning exercise, or a component library often doesn't need everything Next.js provides — Vite's simplicity is a genuine advantage there. A real production web app that needs SEO-friendly rendering, multiple pages, and integrated API endpoints is exactly the case Next.js is built for. Neither replaces the other; picking between them is a real, situational decision you'll make again in your own projects.
Next Steps
Project is scaffolded and running. Go to Fundamentals to start with file-system routing and rendering concepts.

