AGENTS.md (apps/web)
Next.js storefront using the App Router.
Commands
- Dev:
pnpm --filter @acme/web dev(http://localhost:3000) - Test:
pnpm --filter @acme/web test - E2E:
pnpm --filter @acme/web e2e(Playwright; starts the dev server)
Rules
- Server Components by default;
"use client"only for interactivity. - Data comes from the API via
src/lib/api.ts; never query the database from the web app. - Product images through
next/imagewithsizes. - Every page needs a
generateMetadatawith title and description.