Skip to content
Sellzy

Setup check

pnpm check:setup checks your whole setup and explains every problem.

pnpm check:setup

The setup check is the fastest way to find what’s wrong. It never prints secret values, so its output is safe to share with support.

What it checks

  • Tools: Node.js 22.22+, pnpm, installed dependencies
  • Settings: every app’s .env exists; MONGO_URI format and database name; JWT_SECRET length; API addresses without a trailing / or /api
  • Pricing: tax and shipping are the same in the API, storefront and mobile app
  • Services: Stripe key and webhook secret, the chosen upload provider’s keys, SMTP, Firebase on both sides (valid JSON)
  • Database: connects, then counts products, categories and admin accounts; warns about demo accounts in production
  • Servers: whether the API, storefront and admin are running

Reading the result

Sellzy setup check

  ✓ Node.js 24.15.0
  ✓ apps/api/.env found
  ✓ API: MONGO_URI set (mongodb://)
  ✓ 83 products, 34 categories
  ⚠ Stripe card payments are off (STRIPE_SECRET_KEY empty)
      → Optional — cash on delivery still works
  ✗ API: JWT_SECRET is empty
      → Run `pnpm setup:env --force` or set 32+ random characters (openssl rand -hex 32)

Result: 16 ok, 1 warning(s), 1 problem(s)
  • ✓ ok: nothing to do
  • ⚠ warning: an optional feature is off, or something to review before going live
  • ✗ problem: fix it; the line below tells you how

The command exits with an error code when there are problems, so you can use it in CI.

Stuck? Run pnpm check:setup, check Troubleshooting, or contact support.