Part 01 / Topic 4 of 9
Touring the generated project
$ find harness -maxdepth 2 -not -path '*/node_modules*' -not -path '*/.next*'
harness
harness/.gitignore
harness/AGENTS.md
harness/app
harness/app/favicon.ico
harness/app/globals.css
harness/app/layout.tsx
harness/app/page.tsx
harness/eslint.config.mjs
harness/next-env.d.ts
harness/next.config.ts
harness/package-lock.json
harness/package.json
harness/public
harness/README.md
harness/tsconfig.json
| File / folder | What it is |
|---|---|
app/ |
Every route lives under here — page.tsx makes a URL public, layout.tsx wraps it. Part 2 goes deep on this; for now there is exactly one route: app/page.tsx is /. |
app/layout.tsx |
The root layout — every page renders inside it. Required; the project will not build without one. |
app/globals.css |
Plain CSS, imported once in the root layout, plus the three @import/@theme lines Tailwind needs. |
public/ |
Static files served as-is from / — public/next.svg is reachable at /next.svg, no route needed. |
package.json / package-lock.json |
Standard npm files — package.json's scripts block is exactly dev, build, start, lint (section 5). |
next.config.ts |
Typed Next.js configuration (section 8). |
tsconfig.json |
TypeScript compiler configuration (section 8). |
eslint.config.mjs |
ESLint's flat config, extending eslint-config-next's two rule sets. |
next-env.d.ts |
Auto-generated, never edited by hand — it wires Next's own ambient types into the TypeScript project. |
AGENTS.md |
Not part of your app at all — a note Next.js writes for AI coding agents (section 9). |
Notice what is not here: no pages/ folder, no server file you start by hand, no build config beyond next.config.ts. The CLI and the app/ convention are the entire surface area.
Done here? The practice set for Part 1 — including the solutions — is on the part page.