Skip to main content
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.

Quick Start

Clone, configure, and launch your first RefactKit app in under 10 minutes.

Core Concepts

Understand how multi-tenancy, organizations, and RBAC work together.

Guides

Step-by-step walkthroughs for common tasks like adding pages and file uploads.

Configuration

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.

Authentication

Email/password sign-up and sign-in, email verification, password reset, and OAuth via Google — all OWASP-compliant.

Organizations & RBAC

Multi-tenant workspaces with Owner, Admin, and Member roles. Invite teammates via email.

File Storage

Server-side file uploads to Supabase Storage — secure avatar and gallery image management.

Internationalization

Five built-in languages (EN, FR, ES, PT, AR) with full RTL support.

Get started in 4 steps

1

Clone and install

Clone the repository and install dependencies with pnpm.
2

Configure your environment

Copy .env.example to .env.local and fill in your Supabase, Resend, and Better Auth credentials.
3

Push the database schema

Run npx drizzle-kit push to create all tables in your Supabase PostgreSQL database.
4

Start the dev server

Run pnpm dev and open 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.