A mobile-first household PWA for chores, shared money, events, course schedules, driveway coordination, peer-reviewed infractions, and reliable server-authoritative deadlines.
- One Supabase project for any number of isolated households
- Email magic-link admin accounts, anonymous share-code resident accounts, and optional later identity linking
- Household setup with address, feature selection, and owner-rotatable hashed share codes
- Per-task rotations, fixed/manual/one-off tasks, Toronto-time deadlines, reminders, completion, escalation, disputes, and peer voting
- Immutable double-entry expense ledger, multiple payers/beneficiaries, deterministic cent splitting, confirmed settlements, receipt storage, and household-fund payments
- Household calendar,
.icsfile/URL import, full roommate course visibility, and recurring schedule preservation - Versioned drag-and-drop driveway lineup, manual/course departures, blocker calculation, and targeted warnings
- Installable offline app shell, Web Push subscriptions, test delivery, dead-subscription cleanup, notification outbox, Cron processing, audit history, and demo mode
The app has two designs. Classic is the default and is what everyone sees until they choose otherwise. The newer design, called Slate in the code, is switched on per device under Settings → Appearance → New design, and switched off in the same place.
- The choice is stored in
localStorage(howsehowld:design) and applied to<html data-design>before first paint.src/lib/appearance.tsowns it. - Slate lives in
src/slate. It has its own shell, overview and settings. Chores, Money, Calendar and Driveway keep their page logic and dialogs and swap only their layout. - A page loads Slate's stylesheet, shell and layouts only once the design is
switched on, and its styles are scoped to
:root[data-design="slate"]insrc/slate/slate.css. Classic is unaffected while it is off. (The service worker still precaches Slate's files along with the rest of the build.) - Slate keeps its own theme, dark by default, separate from the Classic theme.
Requirements: Node 24+, pnpm 11+, Docker Desktop.
pnpm install
pnpm dev:stackdev:stack is the single local full-stack entry point. When
VITE_SUPABASE_URL is absent, a placeholder, or localhost, it starts the
Supabase CLI stack first and then the Compose app. Stopping the run stops both
sets of containers without deleting their data. When the URL is a real hosted
Supabase URL, it starts only the app.
Development builds automatically use the standard local Supabase URL and public local key when no values are configured. Production builds never use those defaults and still require hosted environment variables.
Local auth emails appear in Mailpit at http://127.0.0.1:54324.
Anonymous Auth is enabled in the local Supabase configuration. A roommate can
join with the house share code and a display name without providing an email.
The Compose service itself runs the Vite development server with hot reload:
docker compose up --buildOpen http://localhost:5173. Supabase local development is managed by its CLI,
which generates its own Docker services from supabase/config.toml; it is not
duplicated inside compose.yaml.
In WebStorm, create an npm run configuration for dev:stack and use that
instead of the raw Compose configuration when you want the complete local
application. The WebStorm Stop button reaches the script cleanup block, which
stops both the app and local Supabase while preserving their volumes.
Running docker compose up --build directly remains app-only. This is useful
when VITE_SUPABASE_URL points at a hosted project.
pnpm test
pnpm lint
pnpm build
pnpm exec supabase db reset --local
pnpm exec supabase db lint --local --schema public,private --fail-on error
pnpm exec supabase test db supabase/tests/database --local
pnpm test:e2eInstall icons can be regenerated from public/favicon.svg with pnpm icons.
The same checks run in .github/workflows/ci.yml.
The final physical-device gate must be completed on the actual three Android phones and iPhone. On iOS, install from Safari to the Home Screen before requesting notification permission. Web Push is best-effort and does not claim to bypass Focus or silent mode.
- Create one hosted Supabase project and run every migration. Do not create a separate Supabase project for each customer household.
- Under Auth providers, enable Allow anonymous sign-ins and Allow manual linking. Enable Cloudflare Turnstile or hCaptcha before opening signups to the public; anonymous users otherwise create database records cheaply.
- Configure Resend under Supabase Auth SMTP, copy the
supabase/templates/magic_link.htmlcontent into the hosted Magic Link template, and add the final Vercel URL to Auth redirect URLs. - Sign in with the house admin email, create the house with its address and enabled features, then share the generated code with residents. House codes are stored only as SHA-256 hashes and can be rotated from Settings.
- Generate one VAPID key pair. Add the values from
supabase/functions/.env.exampleas Edge Function secrets. - Deploy
push-subscribe,push-dispatch, andimport-ics. - Replace the URL and publishable-key placeholders in
supabase/setup_push_cron.sqland run it once. It generates an encrypted dispatch credential in Vault; the Edge Function verifies it through a service-role-only database function. Check Cron run history for successful dispatches after setup. - Add
VITE_SUPABASE_URL,VITE_SUPABASE_PUBLISHABLE_KEY, andVITE_VAPID_PUBLIC_KEYto Vercel, then deploy the static Vite build. - Run Supabase database advisors and complete the four-device acceptance checklist before household rollout.
House-code accounts are device-based until the resident links an email or OAuth identity. If they sign out, clear browser data, or change devices before linking an identity, Supabase cannot recover that anonymous account. Schedule cleanup of unjoined anonymous Auth users and monitor anonymous-signup rate limits.
Never expose the service-role key, VAPID private key, SMTP password, or
dispatcher secret through a VITE_ environment variable.