DeesseJS
  • Enterprise
  • Pricing
DeesseJS logoDeesseJS

Software engineering as a commodity: agents that code, workflows that scale, infrastructure that works. Built with the DeesseJS ecosystem.

Ecosystem

  • Errors
  • DRPC
  • Collections
  • FP

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base

Use cases

  • SaaS apps
  • AI products
  • Landing pages
  • API backends
  • Internal tools

Company

  • About
  • Manifesto
  • Principles
  • Vision
  • Enterprise
  • Delivery
  • Help

Legal & Trust

  • Privacy
  • Terms
  • Cookies
  • DPA
  • Security

Community

  • Open Source Program
  • Github
  • LinkedIn
  • X

Explore

  • Customers
  • Templates
  • Ecosystem
  • Stack
© 2026 DeesseJS. All rights reserved.

Use case · API

Service-only backends, typed end to end.

Hono + oRPC procedures typed from router to client. Drizzle on Postgres. The four sub-systems a service-only backend needs are wired into the registry before your first commit.

Use it yourselfTalk to delivery
What's in the box

The four sub-systems a service-only backend needs.

Eight capabilities grouped by the buyer-side question they answer. Two halves: what the partner integration calls, and what keeps the service running in production.

orpc-router.ts
import { os, ORPCError } from "@orpc/server"
import { z } from "zod"
import { listInvoices } from "@workspace/database"

export const listInvoicesProcedure = os
  .input(z.object({ orgId: z.string() }))
  .handler(async ({ input, context }) => {
    if (!context.user.belongsTo(input.orgId)) {
      throw new ORPCError("FORBIDDEN")
    }
    return listInvoices(input.orgId)
  })
Behind the curtain

What keeps an API serviceable.

The four sub-systems an on-call engineer names first. OpenAPI generation, the test harness, service tokens, audit log — all on the same typed contract.

openapi-gen.ts
import { generateOpenAPI } from "@orpc/openapi"
import { router } from "./router"

export const writeSpec = async (path: string) => {
  const spec = await generateOpenAPI(router, {
    info: { title: "Service API", version: "1.0.0" },
  })
  await Bun.write(path, JSON.stringify(spec, null, 2))
}

Built with the stack senior engineers ship on.

Hono
oRPC
Drizzle
Postgres
Better Auth
Cloudflare
Turborepo
Resend

Process

How an API backend ships.

  1. Step 01

    Define the contract

    The router is the schema. Clients import the type, the server enforces it. No hand-written request/response DTOs.

  2. Step 02

    Wire the storage layer

    Drizzle on Postgres by default. Swap providers without rewriting the API surface — the schema stays the same.

  3. Step 03

    Publish and iterate

    OpenAPI is generated from the router. Clients consume the contract, not the implementation. Versioned deployments sit alongside the code.

Built on this

Four templates, each on its own surface.

Production-ready starter templates, each deployed at its own URL. Used as the reference set for what the registry can ship.

rpc-server

Hono + oRPC service with Drizzle on Postgres.

edge-handler

Cloudflare worker behind the same typed contract.

webhook-receiver

Signed, retried, typed webhook ingestion.

service-to-service

Internal RPC with token rotation and audit trail.

Explore

Related use cases.

Related

SaaS apps

Multi-tenant B2B SaaS with auth, billing, and a working dashboard on day one.

Read more

Related

Mobile backend

Auth, sync, and push notifications for native apps, on the same backend.

Read more

Related

AI products

RAG, chat, and agents wired against the same contracts your app uses.

Read more

Two doors

Use it yourself, or have us ship it for you.

Self-serve gives you the registry and the templates. Engagement gives you the team that built it. Pick the door that fits the timeline.

Browse templatesTalk to delivery