refactor(db): replace supabase with better auth and kysely
From the PR description
Summary
- replace Supabase auth with Better Auth backed by Postgres
- replace Supabase/PostgREST DB access with Kysely-backed queries and camelCase DB types
- add Kysely codegen scripts and update setup docs/env examples
Validation
- npm run build --prefix backend
- npm run build --prefix frontend
- node dist/index.js starts backend
Our analysis
Replace Supabase with Better Auth and Kysely — read the full analysis →
Think the analysis missed something the PR description covers?
Commits in this PR (3)
| SHA | Subject | Author | Date | |
|---|---|---|---|---|
dce1302e | refactor(db): replace supabase with better auth and kysely | Johan Eliasson | 2026-05-15 | ↗ GitHub |
42d38bda | refactor(db): clarify kysely query adapter | Johan Eliasson | 2026-05-15 | ↗ GitHub |
8923b301 | refactor(db): rename kysely instance to db | Johan Eliasson | 2026-05-15 | ↗ GitHub |
Capture this PR into my fork
Download a Markdown prompt that tells Claude how to port every
commit in this PR into your working tree. Run it via
claude -p < capture-pull-1.md from
inside the repo you want the changes in.