A Vercel-ready Next.js starter for a portal-style ChatGPT workspace that turns prompt threads into prioritized tasks, suggested next actions, and executable deliverables.
- Next.js 15 App Router
- Clerk for authentication
- Prisma ORM
- Postgres database
- Tailwind CSS
- Typed domain models and thread-priority scoring
- Auth-gated portal shell with Clerk middleware
- Dashboard, task board, settings page, and thread detail route
- Server-side repository layer wired for Prisma with sample-data fallback
- REST endpoints for threads and tasks
- Prisma schema for users, workspaces, threads, tasks, deliverables, and automations
- Seed script for local development
- Vercel configuration and environment template
- Copy environment variables.
cp .env.example .env.local- Install dependencies.
npm install- Generate Prisma client and apply migrations.
npx prisma migrate dev --name init
npm run db:seed- Start the app.
npm run devOpen http://localhost:3000
DATABASE_URL=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_APP_URL=- Create a new Git repository and push this folder.
- In Vercel, choose Add New Project and import the repo.
- Add the environment variables from
.env.example. - Provision Postgres, or attach Neon/Supabase/Postgres and set
DATABASE_URL. - Set the build command to
npm run buildif Vercel does not detect it automatically. - Deploy.
- After first deploy, run Prisma migration against the production database.
/dashboard/threads/[id]thread detail/taskstask board/settingssettings and implementation notes/api/threadsthreads JSON/api/taskstasks JSON and task creation
- Replace repository fallback logic with strict database-backed queries once infrastructure is live.
- Add workspace-aware authorization checks in repository methods.
- Connect LLM extraction pipelines to create threads, tasks, and deliverables from prompt history.
- Add drag-and-drop persistence for task status changes.
- Add Gmail, Calendar, and file connectors for execution-oriented workflows.
Portal-style ChatGPT workspace starter with Clerk auth, Prisma persistence, and thread-prioritized task orchestration.