The Brief
You are building a Project Management SaaS (similar to Linear or Jira). The goal is to demonstrate mastery of the App Router, Server Actions, and Optimistic UI.
CAP-201
To Do
Core Architecture & Auth
Requirements
- Auth: Implement NextAuth v5 with GitHub and Email providers.
- Database: Use Prisma with a Postgres database (Neon/Supabase).
- Tenancy: Users belong to "Organizations". Data is isolated by `orgId`.
CAP-202
To Do
Tasks & Server Actions
Requirements
- CRUD: Create, Update, Delete tasks using Server Actions only (no API routes).
- Optimistic UI: Use `useOptimistic` to update the UI immediately when a task is moved or edited.
- Validation: Validate all inputs with Zod on the server.
CAP-203
To Do
Performance & Polish
Requirements
- Streaming: Use `Suspense` to stream the task list while the sidebar loads instantly.
- Metadata: Dynamic OpenGraph images for shared task links.
- Deployment: Deploy to Vercel with a Postgres database attached.