Start and build the web app
pnpm dev:web
pnpm --filter @repo/web buildUse the root scripts or a package filter; both target the existing web application.
Topic
Definition
Next.js is a React framework that supplies an application build system, file-based routing, server rendering, and production runtime conventions.
In simpler words
Next gives a React app a known structure and the commands needed to develop, build, and deploy it.
Start by running the web application that already exists in this workspace instead of creating a second app.
This repository is a pnpm workspace. The Next application lives in apps/web, so workspace-aware commands run the correct package and keep its dependencies consistent with the rest of the repository.
Development mode watches source files and serves rapid feedback. It is useful for learning, but it does not prove that the optimized production build will succeed.
pnpm dev:web
pnpm --filter @repo/web buildUse the root scripts or a package filter; both target the existing web application.
# Wrong — creates an unrelated app inside the workspace
npx create-next-app apps/web-next
# Right — run the app that already exists
pnpm dev:webA second app duplicates configuration, routes, and package ownership.
Definition
Development starts an editable server, while a production build validates compilation and produces the deployable application output.
In simpler words
“It opens in my browser” proves less than “the production build completed.”
Read apps/web/package.json before inventing a command; package scripts are the project contract.
Keep environment values out of source control and restart the dev server after changing values that Next reads at startup.
Live playground
Identify the command that runs the existing web app.
Run pnpm --filter @repo/web dev — do not create a second app.
next-installation
Test
At least 10 questions — mix of concept, syntax, practical, and logic. Score ≥ 80% (enforced by the API) to save progress.
Checking your session…
10 questions · concept 3 · syntax 2 · practical 3 · logic 2