尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证FlatMate: co-living app for rotas, rent, bills, shared expenses and events
翻译准备中
正在加载完整 README。
查看完整 README ↗A free, installable web app (PWA for Android and iPhone) for people who share a home: a strict-rotation cleaning rota, rent and recurring bills, shared expenses with who-owes-whom, and a majority-vote event planner. English and GBP only. Built for one flat of five first, designed so thousands of households can use it later.
Live: https://flatmate-ten.vercel.app
Status: the foundation module (app shell, PWA, CI, database workflow, scheduler) is complete. Feature modules follow in this order: identity, household, notifications, ledger, recurring, rota, events, extras. See docs/CAPABILITY-MAP.md and docs/REQUIREMENTS.md.
Next.js 16 (App Router) and React 19, TypeScript (strict), Tailwind CSS 4, Supabase (Postgres 17, Auth, Edge Functions, pg_cron), Vercel, pnpm. Details and reasons: ADR-001.
| Tool | Version | Notes |
|---|---|---|
| Node.js | 24 LTS | https://nodejs.org |
| pnpm | 12+ | npm install -g pnpm (or corepack enable) |
| Git | any | https://git-scm.com |
| Docker Desktop | latest | Needed only for the local database. See the Windows note below. |
Docker Desktop on Windows. Install from https://www.docker.com/products/docker-desktop, keep "Use WSL 2" ticked, and restart when asked. Virtualisation must be on in your BIOS if Docker reports it is missing. Open Docker Desktop once and wait until it says "Engine running" before the next step.
git clone https://github.com/22KarthikV/flatmate.git
cd flatmate
pnpm install
pnpm db:start
pnpm db:start pulls the Supabase images the first time (a few minutes), then prints the local API URL and the publishable key.
cp .env.example .env.local
On Windows PowerShell use Copy-Item .env.example .env.local. Open .env.local and paste the PUBLISHABLE_KEY printed by pnpm db:start into NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY. The URL default already points at the local stack. Run pnpm exec supabase status to print the values again.
pnpm dev
Open http://localhost:3000. Check http://localhost:3000/api/health: both app and database should say ok.
| Command | What it does |
|---|---|
pnpm dev | Dev server |
pnpm check | Lint, types, formatting, unit tests, build, bundle budget |
pnpm test | Unit tests (Vitest) |
pnpm test:e2e | End-to-end tests (Playwright; needs the local database running) |
pnpm db:start / stop | Start or stop the local Supabase stack |
pnpm db:reset | Rebuild the local database from migrations and seed.sql |
pnpm db:test | Database tests (pgTAP) |
pnpm db:types | Regenerate src/lib/db/types.ts after a migration |
First time with Playwright: pnpm exec playwright install chromium webkit.
src/app/ routes: (public) pages, (app) signed-in shell, api/
src/features/ one folder per feature module (shell, pwa, health, ...)
src/components/ ui/ primitives, fx/ animation helpers
src/lib/ env, logger, motion tokens, Supabase clients
supabase/ config, migrations/, tests/ (pgTAP), functions/ (Edge Functions)
docs/ requirements, specs, ADRs, deployment guide
tasks/ plan and task list for the module in progress
e2e/ Playwright tests
Missing environment variables: .env.local is missing or the key is empty. Redo step 3./api/health returns 503: the database is not running (pnpm db:start) or the key is wrong.db:start: Docker Desktop is not running yet. Wait for "Engine running".pnpm db:stop and start again.Licence: all rights reserved (see LICENSE). Third-party code and licences: THIRD_PARTY_NOTICES.md.