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.