Sign in

Nornir — Implementation Plan

Multi-unit monthly timetracking webapp · Typed Next.js + @ui-sdk/react + Drizzle ORM + PostgreSQL + REST/CSV Reporting API

Source: Timetracking Webapp Planning (Q1–Q26 Locked)
Build Plan
6 Phases
Vertical slices, zero rework
Stack
Next.js + PG
@ui-sdk/react · Drizzle
Data Model
14 Tables
Org CTEs + month snapshots
Reporting API
REST + CSV
OpenAPI 3.1 · Greenlit default
6-Phase Build Sequence — Click any phase to inspect deliverables & exit criteria
Phase 1

Foundation, Design System & PostgreSQL Schema

Depends on: none
Core Deliverables
  • •Initialize typed Next.js App Router + Tailwind CSS + @ui-sdk/react + Sonner + Drizzle ORM.
  • •Implement Option D theme tokens: muted off-white surfaces (#f6f6f4 / #fcfcfb), forest sage primary & Internal, terracotta Consultant, ochre leave, moss quarter-day fills + deep espresso dark mode toggle.
  • •Configure docker-compose.yml PostgreSQL + 14-table Drizzle schema, migrations, and realistic multi-BU seed (FR/DE/US, CEO, BU Heads, Team Managers, Internals, Consultants, part-time & tenure dates).
Key Paths & Exit Gate
  • •src/db/schema.ts, src/db/seed.ts, docker-compose.yml
  • •src/components/ui/* (headless @ui-sdk/react wrappers)
  • •Done when: pnpm db:push && pnpm db:seed boots clean Postgres and app shell renders light/dark themes.