尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Best Deploys
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A modern e-commerce platform for selling mobile data and airtime in Ghana, built with Next.js 15, Tailwind CSS, and Supabase.
Copy .env.local and fill in your API keys:
cp .env.local .env
You will need keys for:
supabase/schema.sql and run it to create tables and policies.npm install
npm run dev
Visit http://localhost:3000 to see the app.
By default, new users are standard users. To make yourself an admin:
users table.role from user to admin.All 14 scheduled jobs are executed by cron-job.org — not Vercel's built-in cron scheduler. Each job calls a GET endpoint in app/api/cron/ and is secured via the Authorization: Bearer <CRON_SECRET> header.
The CRON_SECRET is a password that you create to ensure only your authorized cron jobs can trigger the API.
48392cf3-5d6e-4b4b-9b4b-1234567890ab).CRON_SECRET<your-generated-secret>CRON_SECRET=<your-secret> to your .env.local file if you want to test the cron routes locally using tools like Postman.| Endpoint | Schedule | Purpose |
|---|---|---|
verify-pending-payments | Every 5 min | Checks pending Paystack wallet payments |
refulfill-pending-orders | Every 5 min | Auto-retries pending data orders via active supplier |
sync-codecraft-status | Every 5 min | Polls CodeCraft API to update processing order statuses (regular & bigtime) |
sync-xpress-status | Every 5 min | Polls Xpress API to update processing order statuses |
sync-moolre-withdrawals | Every 10 min | Polls Moolre API to settle pending withdrawals |
auto-complete-data | Every 10 min | Auto-completes stale data package orders |
fulfill-pending-rc-vouchers | Every 10 min | Auto-fulfills pending RC orders and retries delivery |
release-rc-reservations | Every 15 min | Frees expired Results Checker reservations |
agent-renewal-reminder | Daily 07:00 UTC | Sends SMS reminders to expiring agents |
delete-old-notifications | Daily 00:00 UTC | Purges notifications older than 30 days |
delete-old-orders | Weekly Sun 01:00 UTC | Purges orders older than 90 days |
delete-old-complaints | Weekly Sun 01:00 UTC | Purges complaints older than 30 days |
shop-sales-report?type=daily | Daily 23:59 UTC | Emails daily sales recap to shop owners |
After creating your account on cron-job.org, follow these steps for each of the 15 jobs:
GHData: Sync Moolre Withdrawals).https://www.fametechgh.com/api/cron/sync-moolre-withdrawalshttps:// and change the last part of the URL for each job.*/10.7 and minute to 0.AuthorizationBearer <YOUR_CRON_SECRET><YOUR_CRON_SECRET> with the actual secret you set in your Vercel Environment Variables).shop-sales-report?type=weekly | Weekly Sun 23:59 UTC | Emails weekly sales recap to shop owners |
shop-sales-report?type=monthly | Monthly 1st 00:00 UTC | Emails monthly sales recap to shop owners |