Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Khumbula funeral services
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗White-label sign-up, member portal and subscription billing for South African funeral homes. Each funeral home (tenant) gets its own branded pages at /<slug>, its own plans and premiums, and its own admin.
| Area | What it does |
|---|---|
Sign-up (/<slug>/join) | Plan choice, SA ID validation (checksum + age → premium tier), spouse, children 0–21, up to 15 extended members, beneficiary, POPIA consent |
| Payments | Debit order (DebiCheck), card (PayFast subscription or Paystack saved card), Instant EFT pay links, cash at branch |
Member portal (/<slug>/portal) | Sign in with ID number + SMS code, see cover status and waiting period, pay arrears, report a death |
Admin (/<slug>/admin) | Premium book, arrears, policies, record cash payments, approve mandates, claims workflow with waiting-period screening, message queue, brand and premium settings |
Daily job (/api/cron/daily) | Creates premiums, charges Paystack cards, marks missed premiums, moves policies between Waiting / Covered / Arrears / Lapsed, sends WhatsApp/SMS reminders |
Policy rules: cover starts with the first paid premium; natural-death cover after the waiting period (default 6 months); accidental death from the first premium; one missed premium = arrears; two consecutive = lapsed.
ID numbers are encrypted at rest (AES-256-GCM). Full bank account numbers are passed to the debit-order provider and never stored; only the last four digits are kept.
DATABASE_URL and DATABASE_URL_UNPOOLED automatically.APP_URL — your Vercel address, e.g. https://khumbula.vercel.appSESSION_SECRET, DATA_KEY, SETUP_KEY, CRON_SECRET — long random values (DATA_KEY must be 32 bytes in base64; never change it after members sign up or their ID numbers can't be read)MESSAGING_DRY_RUN = true until WhatsApp/SMS are set upPAYFAST_MERCHANT_ID = 10000100, PAYFAST_MERCHANT_KEY = 46f0cd694581a, PAYFAST_SANDBOX = true (PayFast's public sandbox account, for testing)https://<your-app>/setup, enter the SETUP_KEY, the funeral home's name, a web address (e.g. ekuthuleni) and your admin login./<slug> is the public sign-up page, /<slug>/admin is the admin.The daily billing job runs at 06:00 SA time via vercel.json. You can also run it from Admin → Dashboard → Run billing now.
PAYFAST_SANDBOX=false. Recurring billing must be enabled on the PayFast account.PAYSTACK_SECRET_KEY; webhook URL https://<app>/api/webhooks/paystack.NETCASH_DEBICHECK_SERVICE_KEY is set, mandates run in manual mode (staff mark them approved in Admin). Finish src/lib/payments/netcash.ts with Netcash's sandbox. Netcash results post to /api/webhooks/netcash.WHATSAPP_TOKEN, WHATSAPP_PHONE_NUMBER_ID. Create templates in WhatsApp Manager with the names and bodies in src/lib/messaging/templates.ts.BULKSMS_TOKEN_ID, BULKSMS_TOKEN_SECRET); needed for member login codes. Then set MESSAGING_DRY_RUN=false.APP_URL.cp .env.example .env # fill in DATABASE_URL etc.
npm install
npx prisma db push
npm run db:seed # demo funeral home at /demo
npm run dev
npm test # core rule tests
prisma/schema.prisma — data modelsrc/lib/rules.ts — premium tiers, status and claim screening (pure, tested)src/lib/policies.ts — sign-up, payments, status refreshsrc/lib/billing.ts — daily jobsrc/lib/payments/ — PayFast, Paystack, Netcashsrc/lib/messaging/ — WhatsApp/SMS providers and templatessrc/app/[tenant]/ — public, portal and admin pagessrc/app/api/ — sign-up, webhooks, cron