Karat
Karat est la plateforme SaaS qui permet aux commerçants de Mauritanie et du Sénégal de créer une boutique en ligne premium en quelques minutes. Essai gratuit de 3 jours.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A Blinkit / Instamart style quick commerce web app (MVP).
/admin): today's orders and sales, order list with one-click status updates, inventory table to edit price, stock and listing, an add-product form, and coupon management.WELCOME50 and SAVE30.Requires Node.js 20 or newer.
npm install
npm run dev # http://localhost:3000
The app uses Postgres. Locally, with no DATABASE_URL set, it runs an embedded Postgres (PGlite) stored in data/pglite, so there's nothing to install. Tables are created and seeded on first request. Delete data/ to reset.
SHOW_OTP_ON_SCREEN=true) the code is shown on the login screen. It is always logged to the server console.9999999999. In production set ADMIN_PHONES=9xxxxxxxxx,8xxxxxxxxx; admin OTPs are only in the server logs, never on screen.zones table (seeded from src/lib/seed.ts) get their own area name and ETA. Set ALLOW_ALL_PINCODES=false to deliver only to listed pincodes.sricommerce GitHub repo. Name the project sricommerce to get sricommerce.vercel.app.DATABASE_URL automatically.ADMIN_PHONES (your mobile number) and SHOW_OTP_ON_SCREEN=true.To log in as admin, enter your number, then find the OTP in Logs (search for [otp]).
Free on Firebase's Spark plan. Enable Authentication → Sign-in method → Google and make sure the site's domain is in Authorized domains. The "Continue with Google" button shows whenever the Firebase config is set (NEXT_PUBLIC_GOOGLE_LOGIN=false hides it). Add admin Google accounts with [email protected].
sricommerce.vercel.app.apiKey, authDomain, projectId and appId in the NEXT_PUBLIC_FIREBASE_* variables (already in .env.production for project sricommerce-697b1).NEXT_PUBLIC_FIREBASE_LOGIN=true (in .env.production or Vercel) and redeploy.Firebase's Spark (free) plan doesn't send SMS; phone auth needs the Blaze (pay as you go) plan, with a small number of free verifications each month.
The server checks the Firebase ID token against Google's public keys, so no service-account secret is needed. Admins are still the numbers in ADMIN_PHONES.
src/lib/ db (Postgres / PGlite, schema + seed), auth (OTP, sessions), catalog, orders, pricing
src/app/api/ auth, orders, serviceability, admin endpoints
src/app/ pages: home, category, cart, login, orders, admin
src/components/ header, product card, cart state