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