GitDeployHub

vercel/nextjs-foundations-starter

github.com/vercel/nextjs-foundations-starter ↗
Node.js API
3 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • NEXT_PUBLIC_APP_NAME Client-accessible environment variables (bundled in JavaScript) These are visible in browser dev tools only use for public data
  • NEXT_PUBLIC_SITE_URL
  • INTERNAL_CONFIG Server-only environment variables These are UNDEFINED in Client Components use for sensitive config
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/vercel/nextjs-foundations-starter
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/vercel/nextjs-foundations-starter
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/vercel/nextjs-foundations-starter
Or deploy to a different host
← Try another repo