- 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>
22 lines
594 B
Bash
22 lines
594 B
Bash
# Database
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/using_cash
|
|
|
|
# Clerk authentication
|
|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
|
|
CLERK_SECRET_KEY=sk_test_...
|
|
CLERK_WEBHOOK_SECRET=whsec_...
|
|
|
|
# Clerk redirect URLs
|
|
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
|
|
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
|
|
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
|
|
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard
|
|
|
|
# BCH node (Fulcrum / BCHN — deployed via PRO-167)
|
|
BCHN_RPC_URL=http://bchn.internal:8332
|
|
FULCRUM_URL=ssl://fulcrum.internal:50002
|
|
|
|
# Price oracle
|
|
COINGECKO_API_KEY=
|
|
CRYPTOCOMPARE_API_KEY=
|