GitDeployHub

amanvarshney01/dub

github.com/amanvarshney01/dub ↗
Node.js API
20 environment variables found in apps/web/.env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in apps/web/.env.example)

  • NEXT_PUBLIC_APP_NAME
  • NEXT_PUBLIC_APP_DOMAIN
  • NEXT_PUBLIC_APP_SHORT_DOMAIN
  • TINYBIRD_API_KEY secret Tinybird – required for analytics Get your Tinybird Auth Token here: https://www.tinybird.co/docs/concepts/auth-tokens.html
  • TINYBIRD_API_URL Varies based on your Tinybird region: https://www.tinybird.co/docs/api-reference/api-reference.html#regions-and-endpoints
  • PROJECT_ID_VERCEL Vercel's Domains API – required for adding and removing domains Learn how to set this up: https://vercel.com/templates/next.js/domains-api
  • TEAM_ID_VERCEL
  • AUTH_BEARER_TOKEN secret
  • UPSTASH_REDIS_REST_URL Upstash Redis – required for Redis caching Get your Redis REST URL and Token here: https://upstash.com/docs/redis/overall/getstarted
  • UPSTASH_REDIS_REST_TOKEN secret
  • QSTASH_TOKEN secret Upstash QStash – required for queues and background jobs Get your QStash Token here: https://upstash.com/docs/qstash/overall/getstarted
  • QSTASH_CURRENT_SIGNING_KEY secret
  • QSTASH_NEXT_SIGNING_KEY secret
  • DATABASE_URL secret MySQL Database via Planetscale Get your MySQL Database URL here: https://planetscale.com/docs/tutorials/connect-nodejs-app
  • PLANETSCALE_DATABASE_URL secret Set local development documentation for connecting to a local database:…
  • NEXTAUTH_SECRET secret Generate a random secret here: https://generate-secret.vercel.app/32
  • NEXTAUTH_URL
  • RESEND_API_KEY secret Required for email login Get your Resend API Key here: https://resend.com/api-keys
  • RESEND_WEBHOOK_SECRET secret Resend webhook secret for webhook verification
  • SMTP_HOST SMTP configuration (Recommended for local development)
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/amanvarshney01/dub
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/amanvarshney01/dub
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/amanvarshney01/dub
Or deploy to a different host
← Try another repo