TurboJet

Introduction

TurboJet — a Next.js marketing and docs host with shared SaaS kit packages in a Turborepo monorepo.

Welcome to the TurboJet documentation. TurboJet is a fullstack Next.js starter kit organized as a Turborepo monorepo. This checkout hosts the public marketing site and docs; shared packages cover auth, API, database, payments, mail, and more so you can wire a product app without rebuilding foundations.

What is TurboJet?

TurboJet helps you ship production-ready web applications faster. The Next.js surfaces in this repository are:

  • apps/marketing — public landing page, legal pages, Mayar storefront checkout, and the Hono API at /api
  • apps/docs — this documentation site (Fumadocs)

Shared logic lives in packages/* — UI, database, auth, payments, env validation, i18n, mail, storage, and AI. There is no apps/saas or mail-preview app in this checkout; email preview runs via the @repo/mail package script.

Locales

English (en) and Indonesian (id) are supported out of the box. English is the source copy; Indonesian files are starter translations and fall back to English when a page is missing.

App architecture

AppPackagePortRole
Marketing@repo/marketing3000Landing, legal, checkout, Hono /api
Docs@repo/docs3001This documentation site (Fumadocs)

Each app is a standalone Next.js application with its own layouts and configuration. They share packages for UI, env, i18n, payments, and (where used) auth, database, and API.

Use apps/marketing for homepage, legal pages, SEO, storefront checkout, and API routes. Use apps/docs for product documentation. Kit packages such as @repo/auth and @repo/database are available for a product host you add later — they are not mounted as a dashboard app in this repo. Details: Apps.

Features

Marketing site

  • Responsive landing page with hero, features, pricing, FAQ, and CTA
  • Legal pages (Terms of Service, Privacy Policy, License)
  • SEO — meta tags, sitemap, robots
  • Mayar storefront checkout
  • Documentation site with Fumadocs search and i18n

Authentication (package)

  • Better Auth with magic link, email OTP, and OAuth (Google, GitHub, Apple)
  • Session helpers and admin role support
  • Password-based login is not included
  • No product auth UI host in this checkout — see Authentication

Payments & billing

  • Providers via @repo/shared/features: Mayar (default), Polar, Midtrans, DOKU
  • Storefront payment links on marketing; plan catalog in @repo/payments

Database & API

  • PostgreSQL + Prisma (@repo/database)
  • Hono routers in @repo/api, hosted by marketing at /api
  • Typed hc client + TanStack Query on the frontend

File storage, mail, AI

Internationalization, analytics, monitoring

Developer experience

  • Turborepo + pnpm workspaces
  • Formatting, linting, shared TypeScript configs
  • Agent skills for common workflows
  • Deployment notes for production URLs and webhooks

Frequently asked questions

What is TurboJet?

TurboJet is a production-oriented Next.js starter kit: marketing and docs apps in this repo, plus shared packages for auth, payments, database, mail, storage, AI, and more — structured for a scalable SaaS codebase.

Which frameworks does TurboJet use?

This kit is Next.js (App Router) in a Turborepo monorepo. It is not a multi-framework (Nuxt / SvelteKit) product.

Is there a SaaS dashboard in this repository?

Not in this checkout. apps/marketing and apps/docs are the runnable apps. Auth, Prisma, and API packages remain so you can host a product app separately or extend the monorepo.

How is TurboJet different from other SaaS boilerplates?

Focus on Indonesian-friendly payment providers (Mayar, Midtrans, DOKU) alongside Polar, bilingual en/id docs and marketing copy, and a clear split between the public marketing host (with Hono API) and shared kit packages.

Get started

Ready to build? Follow the Setup guide, then skim the Tech stack.

On this page