LogoLogo
LogoLogo
IntroductionGetting StartedFolder StructureChangelog

More docs coming soon

Introduction

Meet Tanship: The TanStack Start boilerplate with auth, roles, database, and file storage ready to go from day one.

Welcome to Tanship

Tanship is a boilerplate for TanStack Start that handles the tedious setup for you.

We've already wired up the essentials—authentication, a database, file storage, and even these docs—so you can skip the configuration grind and start building your actual product today.

The Core Idea

The goal is simple: get you from a new idea to a deployed app faster.

  • A Solid Foundation: We've chosen and connected a modern, type-safe stack. You get Drizzle ORM with Postgres, robust authentication, and S3 storage right out of the box.
  • Built for Real Apps: This isn't a toy. With features like role-based permissions and asset storage, you have the tools needed for a real-world product.
  • Great Developer Experience: We lean on the power of TanStack and TypeScript to give you a clean, maintainable, and enjoyable codebase to work in.

Skip the Setup Hell

Stop wasting your first few days wrestling with auth libraries, ORM setup, and storage configs. With Tanship, you clone the repo and start writing your application's unique features immediately.

What's Included?

Tanship provides the critical infrastructure every SaaS needs.

  • 🛡️ Authentication: Secure auth powered by better-auth, complete with baked-in role-based access control (RBAC).
  • 🗄️ Database: A type-safe setup using Drizzle ORM connected to a PostgreSQL database.
  • ☁️ File Storage: Ready-to-use S3 integration for handling user uploads and other assets.
  • 📚 Documentation Scaffolding: This very documentation site, built with Fumadocs. Perfect for your own user or developer guides.

Who is this for?

Tanship is built for developers who want to move fast:

  • Solo Hackers & Founders: Launch your MVP without getting bogged down by setup.
  • Startups & Small Teams: Start with a clean, standardized architecture that's easy to build upon.
  • Freelancers: Spin up new client projects with a reliable and modern foundation in minutes, not days.

Ready to build? Let's get started.

Getting Started

A step-by-step guide to get your Tanship project running locally in minutes.

On this page

Welcome to TanshipThe Core IdeaWhat's Included?Who is this for?