Introduction
Production-ready SaaS starter documentation — authentication, billing, multi-tenancy, notifications, and more.
Welcome to the Leave Localhost documentation. This is the canonical reference for the starter kit: how it is built, how to run it, and how to extend it for your own product.
New here? Start with Getting Started to get a local checkout running, then explore the sections below.
Start here
Getting Started
Get a fresh checkout running locally: app, marketing site, Convex backend, and email preview.
Installation
Prerequisites, dependencies, and first-run setup for the monorepo.
Environment Variables
Every environment variable the apps and packages read, and where to set them.
Project Structure
How the monorepo is organized across apps, packages, and tooling.
Explore the platform
Architecture
The monorepo, Convex backend, data model, and security model.
Authentication
Email/password, OAuth, magic links, sessions, and multi-factor auth.
Multi-tenancy
Workspaces, members, invitations, roles, and permissions.
Billing
Stripe, Polar, Lemon Squeezy, entitlements, grants, and webhooks.
Security
Sensitive actions, rate limiting, audit logs, and the security checklist.
Recipes
Task-focused guides for common changes you will make.