Careeroza
Real World Example
Choosing a Hosting Setup
| Stage | Typical setup | Example |
|---|---|---|
| Side project / MVP | Vercel Hobby/Pro + Neon or Supabase Postgres | A student startup landing page and waitlist |
| Growing startup | Docker on Cloud Run / ECS, managed Postgres, Cloudflare CDN | A D2C brand doing 50k orders a month |
| Cost-sensitive / full control | VM + pm2 + nginx (+ Redis cache handler) | An edtech or job portal on a single GCP VM |
| Large company | Kubernetes, multiple regions, shared cache, CDN | Big e-commerce and streaming sites |
Deploy Checklist
npm run buildpasses locally and in CI.- All env variables set in the target; secrets not prefixed with
NEXT_PUBLIC_. - Database migrations run before the new version starts (
prisma migrate deploy). - HTTPS,
www→ apex redirect, caching headers for/_next/static. - Health check endpoint (
/api/health) for the load balancer / uptime monitor. - Error tracking (Sentry) and logs available.
Example
curl -s https://shopease.in/api/healthExample output
{"status":"ok","version":"1.4.2","db":"up"}