Use case · SaaS
In one click, you have a working SaaS app. Auth, billing, jobs, mail, and the operator console wired against the same contract as the rest of your stack. Eight pillars, not twelve capabilities. The registry ships them before the first commit.
The sub-systems every SaaS needs, wired against the same contract before the first commit. Two halves: what your customers see, and what keeps it running.
import { betterAuth } from "@deessejs/auth"
import { email, oauth, password } from "@deessejs/auth/providers"
export const auth = betterAuth({
database: db,
plugins: [
email({ from: "no-reply@deessejs.com" }),
password(),
oauth({ providers: ["github", "google", "microsoft"] }),
],
session: { expiresIn: 60 * 60 * 24 * 7 },
})The four sub-systems an on-call engineer names first. Same contracts, same registry, same auth, just on the other side of the same RPC.
import { os, ORPCError } from "@orpc/server"
import { z } from "zod"
import { db } from "./database"
export const listInvoices = os
.input(z.object({ orgId: z.string(), limit: z.number().int().min(1).max(100) }))
.handler(async ({ input, context }) => {
if (!context.user.belongsTo(input.orgId)) {
throw new ORPCError("FORBIDDEN")
}
return db.invoice.findMany({
where: { orgId: input.orgId },
take: input.limit,
})
})Built with the stack senior engineers ship on.
Process
Run the CLI. The contracts are wired before the first file is generated. Multi-tenant boundaries, rate limiting, and transactional email come preconfigured.
Replace the placeholder with the product. The eight pillars stay stable, so the surface you ship to customers is the only thing that changes.
Auth, billing, jobs, and observability are already in place. Your time goes into the part of the product that customers actually see.
Built on this
Production-ready starter templates, each deployed at its own URL. Used as the reference set for what the registry can ship.
Explore
Related
Operator consoles that work behind SSO, on the same auth and contracts as your customer app.
Read more
Related
Service-only backends with type-safe RPC and zero frontend overhead.
Read more
Related
RAG, chat, and agents wired against the same contracts your app uses.
Read more
Two doors
Self-serve gives you the registry and the templates. Engagement gives you the team that built it. Pick the door that fits the timeline.