Lanza tu SaaS en días, no meses

Un boilerplate monorepo listo para producción con TanStack Start, Elysia.js y Bun. Auth, pagos, email, trabajos en segundo plano — todo lo que necesitas para lanzar.

What is in the repository

achoai
  • apps/
  • backend/Elysia API on Bun: auth, billing, webhooks, jobs
  • web/TanStack Start, HeroUI, server rendering in three languages
  • packages/
  • shared/Plans, roles and permission keys used by both apps
  • docker-compose.ymlPostgres and Redis for local development
  • .github/workflows/Lint, typecheck, tests, E2E, migrate, deploy
The folders in the repository and what each one already does.

Everything you need to launch

The parts every SaaS rebuilds, already built and tested, so the first week goes to your product.

  • Authentication

    Email and password with verification and reset, OAuth, passkeys, two-factor and organizations with roles, through Better Auth.

  • Payments

    Stripe subscriptions, the billing portal, plan limits and webhook handling with idempotency keys.

  • Transactional Email

    React Email templates sent through Resend, with a suppression list and delivery webhooks.

  • Background Jobs

    BullMQ queues and workers on Redis, with retries, a dead-letter queue and an admin page to redrive failed jobs.

How it works

From git clone to a deployed product.

  1. Clone

    Fork the repo, run the init script and add your Stripe and Resend keys.

  2. Configure

    Set plans, branding and feature flags. Organizations and row-level security are already wired.

  3. Ship

    Deploy to Dokploy or any Docker host. CI, observability and security checks come with it.

Built on tools you already trust

  • TanStack Start
  • HeroUI
  • Tailwind CSS
  • Elysia
  • Bun
  • Drizzle
  • Postgres
  • Redis
  • Better Auth
  • Stripe
  • Resend
  • BullMQ

Questions

  • Is this a framework or a boilerplate?

    A boilerplate. You own the code: fork it, change it and ship it. There is no upstream to sync with and no runtime dependency on us.

  • Why Bun and Elysia instead of Node and Express?

    Bun starts fast and ships its own bundler, runtime and test runner. Elysia is type-safe end to end: the frontend calls it through Eden Treaty with types taken from the backend.

  • Do I need Stripe, Resend or Bunny?

    No. Each integration turns on when its environment variables are set. Swap any of them for the provider you prefer.

  • Is the multi-tenant support real?

    Yes. Better Auth organizations, teams and custom roles, with Postgres row-level security enforced through withTenant() and FORCE ROW LEVEL SECURITY on every tenant table.

  • How do I deploy?

    With Docker. The backend, the BullMQ scheduler and the web app each have an image, and CI runs migrations before it deploys to Dokploy.

  • Can I use it for client work?

    Yes. It is MIT-licensed, so you can use it for personal, commercial and client projects without attribution.

Get launch updates

New features, deployment recipes and release notes. One email when something ships; unsubscribe any time.

We use cookies to measure usage and improve the product. You can opt out; essential cookies still apply. Read the cookie policy.