mirror of
https://github.com/bitbaum/surf-your-life.git
synced 2026-12-03 23:27:55 +01:00
main
Opened by bitbaum/fleet .github/workflows/internal-currency.yml. The fleet's own packages ship features in MINORS, so version-currency.mjs — which judges by major — reports nothing while consumers drift. This is the instrument that sees it, and it opens the fix rather than reporting it. If this PR is red, that is the useful outcome: it names a repo that cannot take the new version, which nothing else in the fleet would have told us. Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid> Co-authored-by: Cato <cato@orangecat.ch>
Surf Your Life
A psychiatry-led clinic portal (Zürich) helping people recover from burnout and Long COVID. Clients track their recovery — daily check-ins, symptoms, sleep, techniques — and practitioners get the visibility they need to intervene early, run evidence-based programs, and analyze progress.
Stack
- Next.js 16 (App Router, Server Components) · TypeScript strict
- PostgreSQL (self-hosted) + Drizzle ORM + pgvector
@bitbaum/accountkitaccounts: email and password, an email sign-in link, passkeys, two-factor, recovery, Continue with OrangeCat and the shared bitbaum sign-in, each when its env is set- Tailwind v4 · next-intl (de / en / fr)
- Self-hosted on Hetzner (behind Caddy)
Getting Started
pnpm install
cp .env.example .env.local # fill in DATABASE_URL, AUTH_SECRET, etc.
pnpm db:migrate # apply migrations
pnpm dev # http://localhost:3000
Scripts
pnpm dev # dev server
pnpm build # production build (output: standalone)
pnpm start # run the standalone build
pnpm test # vitest
pnpm lint # eslint
pnpm db:generate # generate a migration from schema changes
pnpm db:migrate # apply migrations
pnpm db:studio # drizzle studio
Project layout
See AGENTS.md for architecture, design-system tokens, and engineering conventions.
Languages
TypeScript
97.4%
JavaScript
1.3%
PLpgSQL
0.7%
CSS
0.5%