Lance seu SaaS em dias, não meses
Um boilerplate monorepo pronto pra produção com TanStack Start, Elysia.js e Bun. Auth, pagamentos, email, jobs em segundo plano — tudo o que você precisa pra lançar.
What is in the repository
- 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
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.
Clone
Fork the repo, run the init script and add your Stripe and Resend keys.
Configure
Set plans, branding and feature flags. Organizations and row-level security are already wired.
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.