smooth-app
A collaborative, free and open database of ingredients, nutrition facts and information on food products from around the world
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Next.js 16 (App Router) + Supabase. Server-rendered app (no static export).
Needs Docker (for the local Supabase stack) and Node 20+.
npm run db:start prints the local URL + anon key. Put them in .env.local
(see .env.example):
/login takes one field — an email address or a 10-digit Indian mobile
number (sent to Supabase as +91XXXXXXXXXX) — and sends a 6-digit code.檢視完整 README ↗Next.js 16 (App Router) + Supabase. Server-rendered app (no static export).
Needs Docker (for the local Supabase stack) and Node 20+.
npm install
npm run db:start # boots local Postgres, Auth, Storage, Studio, Inbucket
npm run db:reset # applies supabase/migrations + supabase/seed.sql
npm run db:types # regenerate src/lib/database.types.ts from the live schema
npm run db:start prints the local URL + anon key. Put them in .env.local
(see .env.example):
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=<anon key from db:start>
SUPABASE_SERVICE_ROLE_KEY=<service_role key from db:start>
Then:
npm run dev
/login takes one field — an email address or a 10-digit Indian mobile
number (sent to Supabase as +91XXXXXXXXXX) — and sends a 6-digit code.
[auth.sms.test_otp] (supabase/config.toml) work offline —
9999999999 or 9888888888, code 123456. For production, set
[auth.sms.twilio] enabled = true with account_sid /
message_service_sid / auth_token = env(SUPABASE_AUTH_SMS_TWILIO_AUTH_TOKEN).Phone and email are separate identities — the same person signing in with each gets two accounts (account linking is not wired).
Seeded accounts (supabase/seed.sql):
| Role | |
|---|---|
[email protected] | doctor |
[email protected] | admin |
Any other email or phone signs up as a patient.
Vercel (app) + Supabase Cloud (DB/Auth/Storage) + Resend (email OTP). Full
step-by-step in DEPLOY.md.
Real (Supabase): auth, doctors + availability, booking (slot-locked), guided-intake / triage (server-computed urgency), patient + doctor dashboards, appointment detail, profile.
Still mock (src/lib/mock/*, marked TODO(mock)): payments (stubbed — bookings
mark paid), video call (simulated CallStage), notifications
(consoleNotifier), e-prescriptions, recalls + reminder jobs, admin
(onboarding / bookings / payments / analytics), doctor patients list.
Integration seams live in src/lib/integrations/.