Files
henrik.larssonandPaperclip a5a680ad46 feat: scaffold using-cash-app with OpenSpec workflow
- Next.js 14 App Router + TypeScript strict + pnpm + Tailwind
- Clerk auth middleware (routes /dashboard protected, /sign-in exposed)
- Drizzle ORM + Postgres schema: users, wallets, addresses,
  transactions, price_snapshots, categories with proper enums + FKs
- OpenSpec 1.4.1 initialized with Claude Code skills/commands
- openspec/project.md: CTO architecture decisions (BCH Q1, oracle Q2,
  auth Q6, DB/ORM, polyrepo, k8s hosting)
- openspec/config.yaml: spec-driven schema + project context
- openspec/changes/scaffold-app: first change with specs (5 ADDED
  requirements, validate --all passes)
- Multi-stage Dockerfile (deps → builder → runner, node:20-alpine)
- k8s manifests: namespace, deployment, service, ingress (infra/k8s/)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-27 09:35:26 +00:00

25 lines
950 B
Markdown

# scaffold-app
## What changes
Initial repository layout for `using-cash-app`. Establishes the OpenSpec workflow, project spec, and capability directory structure.
## Why
Workstreams 2 (data pipeline) and 3 (backend API) are blocked until the app repo exists and architecture decisions are locked.
## Changes to project spec
All decisions recorded in `openspec/project.md`. This is the first revision — no previous spec to delta against.
## Acceptance criteria
- [x] Repo exists at `git.falkvinge.net/using-cash/app`
- [x] `pnpm install` succeeds
- [x] `openspec validate` passes
- [x] `openspec/project.md` is complete with all CTO decisions
- [x] Initial Drizzle schema file scaffolded at `src/db/schema.ts`
- [x] `.env.example` includes required vars: `DATABASE_URL`, `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`, `CLERK_SECRET_KEY`, `CLERK_WEBHOOK_SECRET`
- [x] `Dockerfile` and k8s manifests in `infra/k8s/`
- [x] First commit pushed to `main`