🐾 CatStore Admin
Deployment readiness

GitHub-first deployment settings.

Push this repo to GitHub, import it in Vercel, connect Neon, and add production variables in dashboards instead of local environment files.

Vercel + GitHub deployment

Import github.com/mbindev/house-of-pounce into Vercel. Every push to main deploys automatically from GitHub.

NEXT_PUBLIC_APP_URLMissing
VERCEL_URLConfigured
VERCEL_PROJECT_PRODUCTION_URLConfigured
APP_ENCRYPTION_SECRETMissing

Neon Postgres

Use the Vercel Neon integration when possible so DATABASE_URL and DIRECT_URL are added in the Vercel dashboard without local .env files.

DATABASE_URLMissing
DIRECT_URLMissing

Stripe checkout

Create payment prices in Stripe, then add the keys and price IDs in Vercel Environment Variables.

STRIPE_SECRET_KEYMissing
STRIPE_WEBHOOK_SECRETMissing
STRIPE_WAND_PRICE_IDMissing
STRIPE_BUNDLE_PRICE_IDMissing
STRIPE_SUCCESS_URLMissing
STRIPE_CANCEL_URLMissing

Meta publishing

Meta app credentials authorize Facebook Pages and linked Instagram Business accounts.

META_APP_IDMissing
META_APP_SECRETMissing
META_REDIRECT_URIMissing
META_GRAPH_VERSIONMissing

Remote media storage

Use S3, Cloudflare R2, or another S3-compatible bucket for generated videos and images.

S3_REGIONMissing
S3_BUCKETMissing
S3_ACCESS_KEY_IDMissing
S3_SECRET_ACCESS_KEYMissing
S3_ENDPOINTMissing
S3_PUBLIC_BASE_URLMissing

Recommended deployment order

  1. Push code to GitHub main.
  2. Import the GitHub repo in Vercel.
  3. Connect Neon through the Vercel dashboard integration or paste Neon pooled/direct URLs into Vercel Environment Variables.
  4. Add Stripe, Meta, S3, and app URL variables in Vercel Project Settings.
  5. Deploy, then run the checked-in Prisma migration with npm run prisma:deploy from a Vercel/Neon-enabled environment.
  6. Set Stripe webhook to https://YOUR_DOMAIN/api/stripe/webhook and Meta redirect to https://YOUR_DOMAIN/api/auth/meta/callback.

Variables to add in dashboards

Add these in Vercel Project Settings. Do not commit real secrets to GitHub.

DATABASE_URLNeon pooled connection string. Add via Neon integration or Vercel dashboard.
DIRECT_URLNeon direct connection string for Prisma migrations.
NEXT_PUBLIC_APP_URLProduction URL, for example https://house-of-pounce.vercel.app.
APP_ENCRYPTION_SECRETAny strong random 32+ character secret.
STRIPE_SECRET_KEYStripe secret key.
STRIPE_WEBHOOK_SECRETStripe webhook signing secret.
STRIPE_WAND_PRICE_IDStripe Price ID for the wand product.
STRIPE_BUNDLE_PRICE_IDStripe Price ID for the bundle product.
STRIPE_SUCCESS_URLhttps://YOUR_DOMAIN/checkout/success?session_id={CHECKOUT_SESSION_ID}
STRIPE_CANCEL_URLhttps://YOUR_DOMAIN/#toys
META_APP_IDMeta app ID.
META_APP_SECRETMeta app secret.
META_REDIRECT_URIhttps://YOUR_DOMAIN/api/auth/meta/callback
META_GRAPH_VERSIONv20.0
S3_REGIONBucket region. Use auto for Cloudflare R2 when needed.
S3_BUCKETMedia bucket name.
S3_ACCESS_KEY_IDS3-compatible access key.
S3_SECRET_ACCESS_KEYS3-compatible secret key.
S3_ENDPOINTOptional S3-compatible endpoint for R2/MinIO.
S3_PUBLIC_BASE_URLOptional public CDN/bucket URL.