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 ↗Hackathon prototype (Lumen 2.0 · Beyond 2030): buy prepaid minutes with Stripe test mode, then explore simulated Mars and Moon terrains in first person while a server-authoritative clock runs down.
Live: https://lunara-space.vercel.app · Docs: PRODUCT.md, ARCHITECTURE.md, BUSINESS_REQUIREMENTS.md, docs/assets.md
Mohamed Gouja · Youssef Essif · Aziz Benjaa · Aziz Chebbi
Next.js 16 (App Router) · React 19 · Tailwind + shadcn/ui · Supabase Auth + Postgres · Stripe Checkout (test) · React Three Fiber/Drei · Vercel
supabase/migrations/0001_lunara_core.sql holds all balance/session logic in locked SQL functions (integer milliseconds, 15 s connection lease, one active session per account, controller generations for tabs).verifyAndFulfill → lunara_fulfill_purchase (event-ID + purchase-status guards).src/features/sessions/client/useExplorationSession.ts renews the lease every 5 s and freezes on any doubt.npm install
cp .env.example .env # then fill in the values
npm run stripe:setup # creates the 3 test prices, writes supabase/seed.sql
npm run db:migrate # creates tables/functions and seeds packages
npm run dev # http://localhost:3000
Supabase: turn Confirm email off (Authentication → Providers → Email) for smooth demos.
npm run typecheck
npm test # accounting math (unit)
npm run test:integration # real database: credits, races, expiry, grants
npm run build
.env except SUPABASE_DB_URL, and set APP_ORIGIN=https://lunara-space.vercel.app.npm run stripe:webhook -- https://lunara-space.vercel.app → copy the value from .env.webhook into Vercel as STRIPE_WEBHOOK_SECRET.http://localhost:3000/** to redirect URLs.Register → Pricing → Buy 1 minute (card 4242 4242 4242 4242, any future date/CVC) → Explore Mars → Start → Z/W S Q/A D + mouse → wait for 00:00 → Buy more time → Start again.
Simulated terrain (not Mars imagery), test payments only, desktop keyboard/mouse only. Terrain license must be verified (see docs/assets.md). A modified browser can still render the downloaded 3D file; what is protected is the server balance and session.