Quicktalog
The best free online catalog maker for businesses. Turn your services, menus, or products into an interactive, mobile-friendly digital catalog. No code or design skills required.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗ArGadaagdo is a pickup-only food-rescue marketplace for Tbilisi, Georgia. Local food businesses publish discounted surprise bags, customers reserve them online, and pickup codes make in-store collection clear and simple.
The project is a production-demo MVP inspired by Too Good To Go. It includes customer discovery, business onboarding, admin approval, inventory-aware reservations, pickup verification, ratings, favorites, and pilot-ready trust pages.
Production beta URL:
https://argadaagdo-silk.vercel.app
| Table | Purpose |
|---|---|
profiles | User email, role, and reliability fields |
businesses | Business ownership, details, approval state, and profile data |
offers | Surprise bags, prices, pickup windows, images, status, and quantity |
orders | Pending payment, reservation lifecycle, pickup codes, cancellation, and rating state |
payments | Provider payment state, fees, business amount, references, and refund state |
business_ratings | Customer ratings for completed pickups |
favorites | Saved offers for customers |
Payment-first inventory holds must go through:
supabase.rpc("create_provider_payment_order", {
p_offer_id: offerId,
p_provider: "tbc",
})
Payment callbacks must be finalized server-side through:
supabase.rpc("finalize_provider_payment", {
p_provider: "tbc",
p_provider_reference: providerReference,
p_external_order_id: externalOrderId,
p_provider_status: providerStatus,
p_amount: amount,
})
The old mock reservation RPC remains in the database for compatibility, but the customer checkout should use the provider session route:
POST /api/payments/checkout
Customer cancellation must go through:
supabase.rpc("cancel_paid_order", { p_order_id: orderId })
Pickup completion must go through:
supabase.rpc("complete_pickup", {
p_order_id: orderId,
p_pickup_code: pickupCode,
})
Customers should never directly update offer quantity or order status from the frontend.
app/ Next.js routes, layouts, metadata, robots and sitemap
components/ Shared UI and marketplace components
components/business/ Business dashboard components
lib/ Supabase client, helpers, validation, logging and domain logic
public/ Public app assets and PWA icons
supabase/migrations/ Versioned database migrations
types/ Shared TypeScript domain types
Create .env.local from .env.example.
cp .env.example .env.local
Required:
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-or-publishable-key
NEXT_PUBLIC_SITE_URL=https://argadaagdo-silk.vercel.app
Server-only payment variables:
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
TBC_CLIENT_ID=your-tbc-client-id
TBC_CLIENT_SECRET=your-tbc-client-secret
TBC_API_KEY=your-tbc-developer-portal-apikey
TBC_CALLBACK_SECRET=use-a-long-random-callback-secret
Server-only email variables:
RESEND_API_KEY=re_your_resend_api_key
TRANSACTIONAL_EMAIL_FROM="ArGadaagdo <[email protected]>"
[email protected]
TRANSACTIONAL_EMAILS_ENABLED=true
CRON_SECRET=use-a-long-random-cron-secret
Optional public build variables:
NEXT_PUBLIC_APP_VERSION=local
NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA=provided-by-vercel
Only public browser-safe values should use the NEXT_PUBLIC_ prefix. Never
expose SUPABASE_SERVICE_ROLE_KEY, TBC_CLIENT_SECRET,
TBC_API_KEY, TBC_CALLBACK_SECRET, RESEND_API_KEY, or
CRON_SECRET to the browser. Do not commit .env.local.
Install dependencies:
npm install
Start the local app:
npm run dev
Run checks before shipping:
npm run lint
npm run build
offer-images storage bucket must exist and allow approved businesses to
upload offer images according to the project storage policies.https://argadaagdo-silk.vercel.apphttps://argadaagdo-silk.vercel.app/loginhttp://localhost:3000http://localhost:3000/loginArGadaagdo uses Resend for marketplace emails sent from Next.js route handlers. The app sends:
cancel_paid_order succeedscomplete_pickup succeeds/api/cron/pickup-reminders/api/cron/payment-maintenanceSupabase Auth remains responsible for account verification and password reset emails. Configure Supabase Authentication SMTP with the verified Resend sender domain so those auth emails are delivered through the same production provider.
The email sender uses deterministic Resend idempotency keys and retries transient provider failures. Email delivery failures are logged but do not roll back successful reservations, cancellations, approvals, or pickups.
NEXT_PUBLIC_SITE_URL=https://argadaagdo-silk.vercel.app for canonical
metadata, sitemap, and robots URLs.https://argadaagdo-silk.vercel.app/api/payments/tbc/callback?secret=<TBC_CALLBACK_SECRET>RESEND_API_KEY, TRANSACTIONAL_EMAIL_FROM,
TRANSACTIONAL_EMAIL_REPLY_TO, and CRON_SECRET in Vercel.HEALTH_CHECK_SECRET in Vercel for detailed authenticated health checks.vercel.json call /api/cron/pickup-reminders once per
day (06:00 UTC = 10:00 Tbilisi, reminding every reservation for that day
whose window hasn't ended) and /api/cron/payment-maintenance once per day (03:00
UTC) — the Vercel Hobby plan only allows daily crons. Because pending
payment holds are only released by payment-maintenance, an abandoned
checkout keeps its box reserved until that daily run; schedule it more
often (Vercel Pro or Supabase pg_cron) before launch. Vercel sends
Authorization: Bearer $CRON_SECRET; keep that secret set in production./api/health for public uptime checks. Use
Authorization: Bearer $HEALTH_CHECK_SECRET for detailed operational checks.npm run build locally before promoting production changes.Production recovery, backup expectations, deployment checks and pilot readiness steps live in:
docs/production-reliability.md
Add final pilot screenshots after the production UI is confirmed:
| Home / Offers | Customer Orders | Business Dashboard |
|---|---|---|
| Add homepage screenshot | Add orders screenshot | Add dashboard screenshot |
ArGadaagdo helps Tbilisi businesses turn unsold food into affordable meals instead of waste, while giving customers a simple and trustworthy pickup experience.