KoKot Rewrite Workspace

Fullstack Next.js foundation for the new KoKot platform.

This app is the new execution surface for the rewrite. It will replace the legacy stack feature by feature, with verification first and legacy deletion immediately after accepted cutover.

Framework

Next.js 16

Auth

Supabase Auth

Database

Supabase Postgres

Deploy

Vercel

Current focus
Foundations now live in apps/web
The first pass establishes the app shell, the Next.js runtime, and the validation loop through lint, build, browser checks, and Next.js devtools.

Create or connect the Supabase project for the rewrite environment.

Turn the documented schema direction into tracked Supabase migrations.

Implement the first auth shell routes and session-aware app boundary.

Expand formatting and testing baseline before wider feature migration.

Operating rules
Validation is part of the work, not a later phase.
  • Use Next.js docs MCP for framework decisions.
  • Use Next.js devtools for runtime diagnostics and route state.
  • Use browser automation to verify the rendered UI, not only HTTP status.
  • Track progress in TODO.md and keep PLAN.md as the architectural source of truth.