SOLO
$149
one-time · plus tax · launch price until Jan 14, 2027, then $249
- 1 developer
- The whole starter, every feature
- CRM, task tracker and feedback board demos
- Unlimited products of your own
- Lifetime updates
- Private repo + GitHub Discussions
NEWHardening and a complete API contract shipped
LaunchCrate is a Rust SaaS starter kit: an Axum and SQLx API with a React web app, already wired for organizations, roles, single sign-on, billing, background jobs and an admin panel. One binary and a Postgres: ship it anywhere Docker runs, with a fly.toml ready to go.
just setup && just devTerminal session: just setup starts Postgres and applies 42 migrations, just dev serves the API and the web app, and just test-api passes 508 tests.
01 / WHAT'S IN THE CRATE
Opinionated where it saves you time, plain Rust everywhere else. No framework lock-in — it's your code from the first commit.
axum · sqlx · openapi
SQLx checks every application query against your schema at build time. Typed ids, one error envelope, and a complete OpenAPI spec the SPA’s types are generated from.
orgs · roles · invites
Organizations, invitations and seat limits. Every query is scoped by org, and every guard asks one permission catalog, custom roles included.
sso · scim · passkeys
OpenID Connect single sign-on with DNS-verified domains, SCIM provisioning, passkeys, TOTP two-factor, magic links, Google and GitHub.
stripe · paddle · polar · lemon squeezy
Four providers behind one trait. Per-seat plans, yearly prices, coupons, one-time purchases, idempotent webhooks, payment-failed emails, and usage billing on Stripe, Paddle and Polar.
queue · schedules · retries
A Postgres queue with retries, backoff, dead letters and scheduled tasks, claimed with FOR UPDATE SKIP LOCKED. In the same process; no Redis.
audit · webhooks · api keys
An audit log, signed webhooks with retries and a delivery log, scoped and expiring API keys, and an MCP server for AI assistants.
/admin
Every user and organization in one place: disable accounts, change roles, impersonate with a recorded trail, and watch sign-ups and conversion.
env · fail fast
Refuses to boot on a missing variable, a weak JWT secret, https without secure cookies or half-configured billing. Mistakes fail the deploy, not production.
72 items across 8 modules, all in the repo today
[auth] 11
[orgs] 8
[enterprise] 7
[billing] 11
[api] 8
[jobs] 6
[ops] 11
[tooling] 10
02 / ARCHITECTURE
A layered monolith that's easy to reason about on day one and easy to split on day 500.
CLIENTS
ACME BINARY
INFRA
03 / CODE TOUR
A handler names the permission it needs and hands off to the service. Every route is described in the OpenAPI spec the build keeps honest.
pub(crate) async fn list( State(state): State<AppState>, auth: AuthUser, Path(org_id): Path<OrgId>,) -> Result<Json<Vec<Upload>>> { orgs::require_permission(&state.db, org_id, auth.user_id, Permission::UseFiles).await?; Ok(Json(service::list(&state, org_id).await?))}Every query takes the org it runs in, so a valid id from another org finds nothing. The module generator writes the test that proves it.
/// Scoped by org so one tenant can never delete another's row,/// even with a valid id.pub async fn delete(exec: impl PgExecutor<'_>, org_id: OrgId, id: WidgetId) -> Result<bool> { let result = sqlx::query!( "delete from widgets where org_id = $1 and id = $2", org_id as _, id as _ ) .execute(exec) .await?; Ok(result.rows_affected() > 0)}Guards ask for a permission, never a role. The least role that holds each one is a single match, and custom roles grant any of the non-owner ones.
/// The least privileged role that holds this permission. Roles nest/// (owner ⊇ admin ⊇ member), so this one value decides every role.pub fn minimum_role(self) -> Role { match self { Self::ViewOrg | Self::ViewMembers | Self::ViewBilling | Self::UseFiles | Self::UseChat => Role::Member, Self::ManageOrg | Self::ManageMembers | Self::ManageBilling | Self::ManageApiKeys | Self::ManageWebhooks | Self::ViewAuditLog | Self::ExportOrgData | Self::ManageAllFiles | Self::ManageRoles => Role::Admin, Self::TransferOwnership | Self::ManageSso | Self::DeleteOrg | Self::ManageSecurity => { Role::Owner } }}Emails, seat syncs and webhook deliveries are rows in Postgres. Any number of workers poll the same table without contention or double claims.
/// The next due job that isn't a webhook delivery.async fn claim_general(db: &PgPool) -> Result<Option<QueuedJob>> { let job = sqlx::query_as!( QueuedJob, r#"update jobs set status = 'running', attempts = attempts + 1, updated_at = now() where id = ( select id from jobs where status = 'queued' and kind <> 'webhooks.deliver' and run_at <= now() order by run_at, id for update skip locked limit 1 ) returning id, kind, payload, attempts, max_attempts"# ) .fetch_optional(db) .await?; Ok(job)}One Docker image holds the API, the built web app and the migrations, which run at boot. After fly launch, a Postgres and four secrets, fly deploy and you’re live.
app = "launchcrate"primary_region = "iad" [env] PORT = "8080" COOKIE_SECURE = "true" TRUSTED_PROXY_HOPS = "1" [http_service] internal_port = 8080 force_https = true # The job worker runs in-process: keep one machine up. min_machines_running = 1 [[vm]] size = "shared-cpu-1x" memory = "512mb"04 / FOR AI AGENTS
The code, tests and guides are already written, and the repo tells an agent how to keep going in the same style.
880,000+tokens of code, tests and docs written to build it
AGENTS.md ×4One briefing at the root and one each for api/, web/ and e2e/: the commands, the rules, and which docs page to read before touching each area. CLAUDE.md files point to them.
.claude/skills/Step-by-step recipes for the changes you make most: add-endpoint, add-migration, add-permission, add-payment-provider and add-browser-test.
just new-moduleScaffolds a domain module in the house shape, so new code starts where the agent expects to find it.
llms.txtThe docs as one file for assistants, rebuilt from the same sources. A check fails the build if it goes stale.
scripts/gate.shCompile-time SQL, typed ids, a spec test and 600+ tests catch an agent’s mistakes before you review them.
05 / PERFORMANCE
On a MacBook Pro M1 Pro, a release build serves 10,731 signed-in requests a second, idles at 25 MB and stays under 100 MB at peak. Every number comes from bench/run.sh in the repo.
Release build · MacBook Pro M1 Pro · Postgres 17 and wrk (100 connections) on the same machine · rate limiting on. Rerun it with bench/run.sh.
06 / PRICING
No subscriptions and no runtime phone-home: you own the code you ship. Launch prices until January 14, 2027.
Launch pricing until January 14, 2027
$149
one-time · plus tax · launch price until Jan 14, 2027, then $249
$349
one-time · plus tax · launch price until Jan 14, 2027, then $499
$799
one-time · plus tax · launch price until Jan 14, 2027, then $1,199
Prices in USD, plus tax where it applies. 14-day money-back guarantee: refund policy.
07 / CHANGELOG
ROADMAP
08 / FAQ
LaunchCrate is a Rust SaaS starter kit: an Axum and SQLx API on Postgres with a React web app, shipped as one binary. It comes with organizations and roles, single sign-on with SCIM, passkeys and two-factor, billing through Stripe, Paddle, Polar or Lemon Squeezy, a Postgres job queue, signed webhooks, API keys, an audit log and an admin panel. You pay once and get the source.
Access to the private GitHub repository: the whole starter, its docs, and the CRM, task tracker and feedback board demos. You clone it, and it’s your code.
Solo and Team cover products you build and own, as many as you like. Building for clients needs Agency: your client may run and change what you deliver, but not reuse the starter for other products.
Prices are in US dollars and exclude tax. Paddle, our reseller, adds the VAT or sales tax that applies where you are and shows the total before you pay. In the EU and UK, a business that enters a valid VAT number isn’t charged VAT.
Your team should be comfortable with Rust basics. The codebase avoids clever macros and trait gymnastics; it’s written to be read and changed.
Updates land in the repository and you merge them like any upstream, with git. Every change passes the same gate first: 500+ API tests and 100+ browser tests.
Stripe, Paddle, Polar and Lemon Squeezy, behind one trait, so you pick one with a setting. Per-seat plans, yearly prices, coupons and one-time purchases work on all four; usage billing works on Stripe, Paddle and Polar.
No. Background jobs are rows in Postgres, claimed with FOR UPDATE SKIP LOCKED by a worker inside the same binary, with retries, backoff and scheduled tasks. The only service it needs is Postgres.
Anywhere that runs a Docker image next to a Postgres. One image holds the API, the built web app and the migrations, which run at boot; a fly.toml and a deployment guide are included.
React 19 with TanStack Router and Query, and Tailwind v4, served by the same binary. The API is plain JSON with an OpenAPI spec and generated TypeScript types, so any other client works too.
Yes. There’s an AGENTS.md for each part of the repo (the API, the web app and the browser tests), step-by-step skills for common changes, llms.txt, and a module generator. In our test, an agent new to the repo shipped a tested feature in 30 minutes.
just setup && just devKnow a team about to write auth and billing from scratch? Send them this.
launchcrate.devor share it on XLinkedInHacker News