Next.js Fullstack Training
Chapter 9
Commands Reference
| Command | What it does |
|---|---|
| pnpm dev | Start dev server with Turbopack → http://localhost:3000 |
| pnpm build | Production build. Run before PRs. |
| pnpm check | Biome lint + format check |
| pnpm check --apply | Biome auto-fix all fixable issues |
| pnpm tsc --noEmit | TypeScript type-check |
| pnpm test | Run Vitest in watch mode |
| pnpm test --run | Run all Vitest tests once (non-watch mode — run before submitting) |
| pnpm playwright test | Run all Playwright E2E tests |
| pnpm db:generate | Generate Drizzle migration files from schema changes |
| pnpm db:migrate | Apply pending migrations to the database |
| pnpm db:studio | Open Drizzle Studio browser UI |