Welcome to TurboStack ๐Ÿš€

TurboStack is a production-ready fullstack monorepo starter built with cutting-edge technologies. Ship faster with a complete authentication system, payment integration, and beautiful UI components.
Modern development workspace

Why TurboStack?

Lightning Fast

Powered by Bun runtime for blazing fast server performance and instant hot reload

Type Safe

End-to-end TypeScript with strict mode enabled across frontend and backend

Production Ready

Complete auth, payments, and email - ready to deploy today

Tech Stack

| Technology | Version | Description | | ---------------- | ------- | -------------------------------------------- | | Next.js | 16 | React framework with App Router & Turbopack | | React | 19 | Latest React with Server Components | | Tailwind CSS | v4 | Utility-first CSS with @theme variables | | shadcn/ui | Latest | Beautiful, accessible React components |

Architecture Overview


Features

  • JWT + Session-based authentication
  • Email verification flow
  • Password reset with secure tokens
  • Role-based access control (RBAC)
  • Rate limiting protection
  • Argon2 password hashing
  • Beautiful React Email templates - Welcome, verification & password reset emails - Easy template customization - Production-ready configuration
  • One-time payments & subscriptions - Customer portal integration - Webhook handling - Product & pricing management
  • 40+ accessible React components - Dark mode support with next-themes - Tailwind CSS v4 integration - Fully customizable with CSS variables
  • Unit tests with Vitest
  • E2E tests with Playwright
  • API mocking with MSW
  • Code coverage reports

Project Structure

turbostack/
โ”œโ”€โ”€ apps/
โ”‚   โ”œโ”€โ”€ frontend/     # Next.js 16 frontend (port 4100)
โ”‚   โ”œโ”€โ”€ backend/      # Elysia.js backend (port 4101)
โ”‚   โ””โ”€โ”€ docs/         # Mintlify documentation (port 4102)
โ”œโ”€โ”€ packages/
โ”‚   โ”œโ”€โ”€ database/     # Prisma schema & client
โ”‚   โ”œโ”€โ”€ validations/  # Shared Zod schemas
โ”‚   โ”œโ”€โ”€ types/        # TypeScript type definitions
โ”‚   โ”œโ”€โ”€ ui/           # Shared UI components
โ”‚   โ”œโ”€โ”€ eslint-config/        # ESLint configurations
โ”‚   โ””โ”€โ”€ typescript-config/    # TypeScript configurations
โ””โ”€โ”€ turbo.json        # Turborepo configuration

New to TurboStack? Start with the Quickstart Guide to set up your development environment in under 5 minutes.