Skip to content

Latest commit

 

History

History
61 lines (53 loc) · 2.79 KB

File metadata and controls

61 lines (53 loc) · 2.79 KB
title RefactKit: Production-Ready Multi-Tenant SaaS Starter
description RefactKit is a production-ready full-stack SaaS boilerplate with authentication, organizations, RBAC, and i18n — built on React 19 and TanStack.

RefactKit gives you everything you need to ship a multi-tenant SaaS product: authentication, organization workspaces, role-based access control, file storage, and internationalization — all wired together with end-to-end type safety. Clone the repo, configure your environment, and go from zero to production in minutes.

Clone, configure, and launch your first RefactKit app in under 10 minutes. Understand how multi-tenancy, organizations, and RBAC work together. Step-by-step walkthroughs for common tasks like adding pages and file uploads. Set up your database, email, storage, and deployment targets.

What's included

RefactKit ships as a complete, runnable application. Every feature below works out of the box.

Email/password sign-up and sign-in, email verification, password reset, and OAuth via Google — all OWASP-compliant. Multi-tenant workspaces with Owner, Admin, and Member roles. Invite teammates via email. Server-side file uploads to Supabase Storage — secure avatar and gallery image management. Five built-in languages (EN, FR, ES, PT, AR) with full RTL support.

Get started in 4 steps

Clone the repository and install dependencies with pnpm. Copy `.env.example` to `.env.local` and fill in your Supabase, Resend, and Better Auth credentials. Run `npx drizzle-kit push` to create all tables in your Supabase PostgreSQL database. Run `pnpm dev` and open [http://localhost:3000](http://localhost:3000) to see your app. RefactKit Community Edition is free and open-source under the MIT license. Payments and billing features are coming in RefactKit Pro.