TurboKit
Deployment

Deployment Overview

Deploy your TurboKit application to production

Deployment Overview

TurboKit is a monorepo with multiple applications that can be deployed to different platforms.

Architecture

ServicePlatformPortDescription
WebVercel4100Next.js frontend
APIRailway/Render4101Elysia.js backend
DatabaseSupabase/Neon5432PostgreSQL

Deployment Options

Frontend (Next.js)

  • Vercel - One-click deploy, zero configuration, automatic SSL, and global CDN

Backend (Elysia.js)

  • Railway - Deploy with Bun runtime support
  • Render - Alternative platform for backend services
  • Fly.io - Edge deployment for low-latency API responses

Database

  • Supabase - Managed PostgreSQL with built-in auth, storage, and real-time features
  • Neon - Serverless PostgreSQL with auto-scaling and branching

Quick Deploy

Deploy to production instantly with Vercel:

Deploy with Vercel

Note: This deploys only the frontend. You'll need to deploy the API separately using Railway, Render, or another platform that supports Bun runtime.

Environment Variables

Required Variables

VariableDescriptionExample
DATABASE_URLPostgreSQL connection stringpostgresql://user:pass@host:5432/db
JWT_SECRETSecret key for JWT tokensyour-super-secret-jwt-key...
SESSION_SECRETSecret key for session encryptionyour-session-secret-key...
NEXT_PUBLIC_API_URLYour deployed API URLhttps://api.yourdomain.com

Full Stack Deployment

See Vercel Deployment for detailed instructions.

On this page