尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Pet Profile and Tracker
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Clydius-maintained rebuild for the MyPetID NFC/QR pet profile, tracker, Dog Pack, and customer tag-purchase app.
BUILD_STATIC_EXPORT=1 and deploys a static export through .github/workflows/deploy-pages.yml./shop/./shop/ and /subscribe/ explain the purchase/subscription process and show the two physical tag products:
$10.00, blank NFC card plus QR-code sticker.$15.00, license-style ID card with NFC + QR-code camera fallback.tag_products; Vercel API checkout creates tag_orders and returns secure Stripe Checkout sessions.membership_tiers; Vercel APIs now expose membership summaries, Stripe Billing Portal sessions, server-side tag activation checks, Dog Pack invite limit checks, admin membership grants, random coupon-code generation/redemption, and admin Stripe provider controls. User account pages show private source/status; public pet profiles use only the tier.pet_qr_codes), andaccount_qr_codes)./pet/?tag=<tag_code> and /pet/?pet=<pet_id>./pet/?tag=demo-tag-001 and scan consent gate at /scan/?tag=demo-tag-001.docs/migrations/2026-06-commerce-qr-uploads.sql.pnpm install
pnpm build # Vercel/server API mode
BUILD_STATIC_EXPORT=1 pnpm build # GitHub Pages/static mode; app/api and proxy.ts must be moved aside for static export
Copy .env.example to .env.local and add only browser-safe public values locally. Private provider secrets belong in deployment/profile env stores, never in the repo.
mypetid is the functional app host for server routes and provider callbacks..github/workflows/deploy-pages.yml temporarily moves app/api and proxy.ts during the GitHub Pages static build and restores them afterward.NEXT_PUBLIC_API_BASE_URL (default https://mypetid.vercel.app, overridable with a repository variable) so server features call the Vercel API. The Vercel build allows those origins via CORS on /api/* (next.config.mjs; override with CORS_ALLOWED_ORIGINS, comma-separated).NEXT_PUBLIC_APP_BASE_URL=https://mypetid.vercel.app so Stripe/OAuth return URLs use the production domain./api/* routes answer with and without a trailing slash (no 308), so the Stripe webhook works at either URL; pages still redirect to the trailing-slash form (proxy.ts).docs/migrations/2026-10-security-hardening.sql and check it with node scripts/verify-rls.mjs (anon key only). See docs/migrations/2026-10-security-hardening.README.md.ryyaefxszkmibcnngnfg is currently restricted by exceed_egress_quota; auth/data features that depend on Supabase are degraded until the quota/spend-cap issue is resolved./api/google/status/ are healthy; Photos/Drive/Docs/Calendar server helpers and scopes are staged. User-level Google connection still waits on Supabase-backed token storage being available..env, service-role keys, PATs, Stripe keys, Patreon tokens, Google OAuth secrets, Mongo URLs, passwords, or Supabase access tokens.