feat: turbostarter boilerplate

Production-ready Next.js boilerplate with:
- Runtime env validation (fail-fast on missing vars)
- Feature-gated config (S3, Stripe, email, OAuth)
- Docker + Coolify deployment pipeline
- PostgreSQL + pgvector, MinIO S3, Better Auth
- TypeScript strict mode (no ignoreBuildErrors)
- i18n (en/es), AI modules, billing, monitoring

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-02-02 17:29:12 +00:00
commit 3527e732d4
1618 changed files with 338230 additions and 0 deletions

20
nixpacks.toml Normal file
View File

@@ -0,0 +1,20 @@
# Nixpacks configuration for Turbostarter
# Removes chromium and browser dependencies to speed up builds
[phases.setup]
# Only include essential packages - no browser dependencies
nixPkgs = ["nodejs_22", "pnpm-10_x", "openssl"]
# Remove all browser-related apt packages
aptPkgs = ["curl", "wget"]
[phases.install]
cmds = [
"npm install -g corepack@0.24.1 && corepack enable",
"pnpm i --frozen-lockfile"
]
[phases.build]
cmds = ["SKIP_ENV_VALIDATION=1 npx turbo run build"]
[start]
cmd = "node apps/web/.next/standalone/apps/web/server.js"