docs: switch infrastructure to local PostgreSQL + home Docker server (no Vercel/Neon)

This commit is contained in:
Chandler Copeland
2026-03-19 13:51:49 -06:00
parent 410fc10e9b
commit 8bc09e4ea7
3 changed files with 16 additions and 13 deletions

View File

@@ -59,6 +59,7 @@ Recent decisions affecting current work:
- Next.js full-stack: single repo for marketing + web app via API routes
- Email-link signing (no client account): lowest friction for clients; standard in real estate
- utahrealestate.com forms scraping: AVOID — violates ToS; use manual PDF upload instead
- Infrastructure: local PostgreSQL (Docker) + local `npm run dev`; no Vercel, no Neon, no cloud storage — home Docker server is eventual target
- [Phase 01-foundation]: Lazy Proxy singleton for db/index.ts prevents neon() crash during Next.js build when DATABASE_URL absent
- [Phase 01-foundation]: next-auth pinned to exact version 5.0.0-beta.30; middleware.ts at project root not src/; force-dynamic on auth route
- [Phase 01-foundation 01-02]: PasswordField extracted as co-located client sub-component — keeps login page.tsx as pure server component
@@ -75,7 +76,7 @@ None yet.
- Phase 6 (Signing Flow) warrants a /gsd:research-phase before planning — JWT one-time enforcement + ESIGN/UETA audit + mobile touch has edge cases
- DNS (SPF/DKIM/DMARC) for teressacopelandhomes.com must be configured before any signing link reaches a real client (Phase 6 acceptance criterion)
- Exact WFRMLS required IDX disclaimer text must be obtained directly from WFRMLS before listings feature ships (Phase 2)
- Neon + Vercel provisioning required before runtime auth flow can be tested end-to-end
- WFRMLS vendor enrollment takes 2-4 weeks — start process immediately, build Phase 2 listings with mock data while waiting (moved from Blockers)
## Session Continuity