尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Hyperlocal marketplace for food, groceries and everyday essentials.
A shop appears only when the customer is inside the shop's own delivery radius and the shop is inside the radius the customer chose. Both directions must hold — there is no wider fallback.
| Layer | Choice |
|---|---|
| Framework | Next.js 16 (App Router) + TypeScript |
| Styling | Tailwind CSS v4 (CSS-first @theme) |
| Database | Supabase Postgres + PostGIS |
| Auth | Supabase Auth — phone OTP, Google, email + password |
| Storage | Supabase Storage |
| Realtime | Supabase Realtime |
One app serves all four audiences. Routes are grouped by role and separated by Postgres row level security, not by separate builds.
| Area | Routes | Role |
|---|---|---|
| Customer / guest | /, /browse, /cart, /orders | none / customer |
| Business | /business/** | seller |
| Delivery | /delivery/** | delivery |
| Admin | /admin/** | admin |
npm install
cp .env.example .env.local # then fill in your Supabase keys
npm run dev
Open http://localhost:3000. The website needs the Supabase keys in .env.local to render; without them it shows an error page.
.env.local.supabase/migrations/ in order, either with the
Supabase CLI (supabase db push) or by pasting each file into the SQL editor.Migrations are ordered and idempotent to apply in sequence.
| File | Contents |
|---|---|
0001_foundation | Extensions, enums, role helpers |
0002_identity | profiles, user_roles, addresses, new-user trigger |
0003_catalog | categories, sellers, products |
0004_commerce | cart_items, orders, order_items, order_events, payments |
0005_delivery | Agents, fleets, invites, assignments |
0006_engagement | Reviews, favourites, notifications |
0007_platform | Platform settings, audit log, upload ledger |
0008_marketplace | nearby_sellers, nearby_products, nearby_categories |
0009_rls | Row level security for every table |
0010_functions | Order lifecycle, payments, delivery, admin review |
0011-0024 | Hardening, images, order flow and live tracking, Cashfree payments (see each file's header) |
0025_foundation_hardening | Stronger delivery code with lockout, expiry of ignored paid orders and abandoned payments |
0026_subscriptions | Monthly shop subscription: trial, grace, suspension, gating |
0027_assign_delivery | The shop assigns its own delivery partner (replaces the open claim) |
0028_shop_documents | FSSAI and GST documents, FSSAI-gated approval, expiry hides a food shop, licence shown to customers |
0029_web_push | Browser notifications: subscriptions, delivery queue on notifications, refund notice |
0030_order_exits | Shop cancel, failed delivery, rider hand-back, refunds, cash handover, customer problem reports |
0031_hours_and_auto_accept |
Order and payment amounts are integers in paise. Nothing computes with a formatted value. The invariant the system maintains is:
verified_prepaid + cash_collected + unpaid = total
verified_prepaid_paise is written only when a seller verifies a payment.
cash_collected_paise is written only when a delivery partner completes an
order with the customer's six-digit code. No status alone ever implies money
was received.
Defined once in src/app/globals.css under @theme:
#ff4d1c, accent saffron #ffb020| Opening hours enforced at order time, optional auto-accept |
0032_account_and_cleanup | Account erasure (anonymize_customer), drops unused notification_devices |
0033_admin_console | Pause a shop or rider, order search and timeline, admin management, audit trail |