This project is now a Next.js App Router app using Bun, with Convex as the data backend for projects and WIP entries.
- Next.js 16 (App Router)
- React 19
- Tailwind CSS
- Convex
- Bun package manager/runtime
bun install
bun run devApp runs at http://localhost:3000.
- Create a Convex project (or use an existing one):
bunx convex dev
- Add the generated Convex env vars to
.env.local:NEXT_PUBLIC_CONVEX_URLCONVEX_DEPLOYMENT
- Add admin CMS env vars to
.env.local:ADMIN_PASSCODEADMIN_SESSION_SECRET
- Keep
bunx convex devrunning while developing. - Seed CMS defaults:
bun run seed:cms
Convex schema is in:
convex/schema.tsconvex/projects.tsconvex/wip.ts
Next server components fetch data via lib/convex.ts.
bun run dev- Start Next dev serverbun run build- Production buildbun run start- Start production serverbun run lint- Run lint checksbun run convex:dev- Run Convex devbun run convex:codegen- Generate Convex types (after Convex is configured)bun run import:projects- Import projects fromdata.csvbun run seed:cms- Seed categories, site content, and sort orders
- Visit
/admin/loginand sign in withADMIN_PASSCODE. - Manage CMS content at
/admin:- projects (create, edit, delete, reorder using
sortOrder) - categories (create, edit, delete, visibility, order)
- WIP entries (create, edit, delete, order)
- structured homepage/projects copy
- projects (create, edit, delete, reorder using