Description
Set up the fresh monorepo with Next.js 15, Payload CMS 3.0, TypeScript, and Tailwind CSS. This replaces the legacy React 16 + CRA frontend entirely.
Payload 3.0 installs directly into the Next.js /app directory — no separate backend needed.
Phase: Setup · Depends on: Nothing · Blocks: All other issues
Tasks
Acceptance Criteria
pnpm dev serves the app on localhost:3000
/admin shows Payload CMS dashboard
- TypeScript compiles without errors
- Tailwind classes work in components
- PostgreSQL connection works (can create/read records)
References
Description
Set up the fresh monorepo with Next.js 15, Payload CMS 3.0, TypeScript, and Tailwind CSS. This replaces the legacy React 16 + CRA frontend entirely.
Payload 3.0 installs directly into the Next.js
/appdirectory — no separate backend needed.Phase: Setup · Depends on: Nothing · Blocks: All other issues
Tasks
create-next-app@latest)/app@payloadcms/nextand@payloadcms/db-postgrespayload.config.ts/app/(payload)/admin/CLAUDE.md/AGENTS.mdwith project conventionspnpm devstarts both Next.js and Payload adminAcceptance Criteria
pnpm devserves the app onlocalhost:3000/adminshows Payload CMS dashboardReferences