尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
a watering plants gamechanger
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Plant watering & feeding tracker with shared gardens. Production: leafmo.app.
owner / limited_editor) and anonymous guest links (guests can water only)Next.js 16 (App Router) · TypeScript (strict) · Supabase (Postgres + RLS, Auth, @supabase/ssr) · Tailwind CSS 4 + shadcn/ui · next-intl 4 · TanStack React Query 5 · Zod 4
npm install.env.example to .env.local and fill in:
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY | Supabase client |
SUPABASE_SERVICE_ROLE_KEY | Server-only admin operations (account deletion) |
SUPABASE_JWT_SECRET | Signing guest access tokens |
npx supabase login and npx supabase link --project-ref <project-ref>npm run dev → http://localhost:3000| Script | Description |
|---|---|
npm run dev | Dev server |
npm run build / npm start | Production build / serve |
npm run lint | ESLint |
npm run update-types | Regenerate types/supabase.ts from the project linked via supabase link |
app/ — routes ((authenticated)/ pages, api/ route handlers, auth/guest/share pages)components/ — UI components (components/ui/ = shadcn primitives)lib/db/ — the only data-access layer; maps snake_case DB rows ↔ camelCase typestypes/index.ts — frontend types · types/supabase.ts — generated DB typessupabase/migrations/ — SQL migrationsmessages/{en,pl}.json — translationsdocs/superpowers/ — design specs and implementation plansRead AGENTS.md (rules, DB migration workflow) and current-state.json (architecture map) before making changes.