- 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>
950 B
950 B
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
- Repo exists at
git.falkvinge.net/using-cash/app pnpm installsucceedsopenspec validatepassesopenspec/project.mdis complete with all CTO decisions- Initial Drizzle schema file scaffolded at
src/db/schema.ts .env.exampleincludes required vars:DATABASE_URL,NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,CLERK_SECRET_KEY,CLERK_WEBHOOK_SECRETDockerfileand k8s manifests ininfra/k8s/- First commit pushed to
main