Loading...
Loading...
Clone, configure, run. Everything you need to ship a SaaS product.
Running in 5 minutes
Apps, packages, stack
Required env vars
Ship to production
Prerequisites: Node.js 20+ and Bun.
git clone https://github.com/Studio-KYN/stackseed.git
cd stackseed
bun install
# Configure
cp .env.example .env.local
# Fill in your API keys (see Environment section below)
# Database
bunx better-auth migrate
# Start all apps
bun dev:3000Web app:3002Marketing:3003AdminTurborepo monorepo with Bun. Four apps, shared packages.
apps/web/:3000apps/admin/:3003apps/marketing/:3002apps/expo/—auth/BetterAuth + orgs + 2FAdb/Supabase client + queriespayments/Polar billingjobs/Trigger.dev tasksmail/Resend + templatesui/shadcn/ui componentsutils/Constants, helpersCopy .env.example → .env.local and fill in these values.
NEXT_PUBLIC_SUPABASE_URLSupabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEYPublic anon keySUPABASE_SERVICE_ROLE_KEYServer-only admin keyDATABASE_URLPostgres connection stringBETTER_AUTH_SECRETSession key (openssl rand -base64 32)BETTER_AUTH_URLhttp://localhost:3000 in devGOOGLE_CLIENT_IDGoogle OAuth (optional)GOOGLE_CLIENT_SECRETGoogle OAuth (optional)POLAR_ACCESS_TOKENPolar API tokenPOLAR_WEBHOOK_SECRETPolar webhook secretRESEND_API_KEYResend email API keyTRIGGER_SECRET_KEYTrigger.dev project secretSUPERADMIN_EMAILSComma-separated admin emailsThree Vercel projects + Trigger.dev.
# Web app
cd apps/web && vercel --prod
# Admin console
cd apps/admin && vercel --prod
# Marketing
cd apps/marketing && vercel --prod
# Background jobs
cd packages/jobs && npx trigger.dev@latest deployBETTER_AUTH_URLapp.yourdomain.comNEXT_PUBLIC_APP_URLapp.yourdomain.comNEXT_PUBLIC_ADMIN_URLadmin.yourdomain.comNEXT_PUBLIC_MARKETING_URLyourdomain.com