Second deep audit→build→verify pass; all products typecheck clean. - gitgram-web (100): fix feed pagination, reel drafts, 6 gaps - gitgram-backend (99): add admin/moderator role checks to moderation routes; wire backend-e2e CI (Postgres+Redis services); 5 gaps - gitgram-mobile (97): fix broken create-reel flow; 11 gaps - aitm-core (98): dedupe vendored CLI command registrations; real vector search with local fallback; 7 gaps - aitm-api (99): replace hash-based embeddings with real OpenAI/Voyage embeddings (+ checkpoints test_status migration 0008); 8 gaps - aitm-mcp (99): add X-API-Key to workspace tool proxy calls; 8 gaps - aitm-website (94): fix annual billing checkout; 5 gaps Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
# Clerk Auth (get from https://dashboard.clerk.com)
|
|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_xxx
|
|
CLERK_SECRET_KEY=sk_test_xxx
|
|
|
|
# Clerk URLs
|
|
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
|
|
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
|
|
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
|
|
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard
|
|
|
|
# API URL
|
|
NEXT_PUBLIC_API_URL=http://localhost:3001
|
|
API_URL=http://localhost:3001
|
|
|
|
# Internal secret for website <-> API communication
|
|
INTERNAL_SECRET=your-secret-here
|
|
|
|
# App URL (for redirects). Use :3002 when running alongside Gitgram web (:3000).
|
|
NEXT_PUBLIC_APP_URL=http://localhost:3002
|
|
|
|
# Polar.sh (get from https://polar.sh/dashboard)
|
|
POLAR_ACCESS_TOKEN=polar_at_xxx
|
|
POLAR_MODE=sandbox
|
|
|
|
# Monthly product IDs (one Polar product per plan, billed monthly)
|
|
NEXT_PUBLIC_POLAR_PRO_PRODUCT_ID=prod_xxx
|
|
NEXT_PUBLIC_POLAR_TEAM_PRODUCT_ID=prod_xxx
|
|
|
|
# Annual product IDs (SEPARATE Polar products billed yearly at the discounted
|
|
# price). REQUIRED for annual billing — without them the annual toggle is hidden
|
|
# and only monthly checkout is offered (so a user can never be shown an annual
|
|
# price while being charged monthly). Create an annual product per plan in Polar
|
|
# and paste its ID here.
|
|
NEXT_PUBLIC_POLAR_PRO_ANNUAL_PRODUCT_ID=prod_xxx
|
|
NEXT_PUBLIC_POLAR_TEAM_ANNUAL_PRODUCT_ID=prod_xxx
|
|
|
|
# Polar webhook signing secret (Polar dashboard -> Webhooks). Required for the
|
|
# /api/webhooks/polar handler to verify and persist subscription/order events
|
|
# (activations, cancellations, refunds, payment failures).
|
|
POLAR_WEBHOOK_SECRET=polar_whs_xxx
|
|
|
|
# Sentry (error tracking, optional)
|
|
# NEXT_PUBLIC_SENTRY_DSN=
|
|
# SENTRY_AUTH_TOKEN=
|