Armadillo walking toward camera at night, rim-lit

The 29Court backend

introducingDILLO

Your backend, built to take a hit. It holds your data, checks every request, and keeps standing when the day goes sideways, so the apps on top can stay simple.

For agents npm init dillo@alpha my-dillo-app

A true story

He shot the armadillo.
The bullet bounced off.

In July 2015, a man in Marietta, Texas spotted an armadillo on his property at 3 a.m., took out a .38 revolver, and fired three times. One of the bullets came back and hit him in the jaw. He was airlifted to a hospital. His jaw was wired shut.

“We didn’t find the armadillo.”

Sheriff Larry Rowe, Cass County, on the condition of the animal

Tough, independent, and ready for anything is not a slogan here. It is the job description.

Why the armadillo

Tough, independent, ready for anything.

Three words. Each one is a job the backend has to do, every day, for every app that sits on it.

Armadillo armor macro
01 · TOUGH

Every request gets checked

Accounts, records, and files sit behind one set of rules. Dillo checks who is asking before anything moves, and private records stay private by default. A bad call, a bad actor, or a bad day does not get through the shell.

Lone armadillo on a desert ridge at dawn
02 · INDEPENDENT

Yours, on your ground

It starts on your laptop and moves to the internet when you are ready, on infrastructure you control. No lock-in, and no permission slip required to leave. The box is yours, and it goes with you.

Armadillo half-curled, head tucked, not yet a ball
03 · READY

One box for the whole app

Files, data, and the work itself live in one place instead of scattered across a dozen services. A website, a phone app, a whole business: if it needs a backend, it can sit on Dillo.

The whole thing

Define it once. Everything flows from that.

You describe what your data looks like, who can touch it, and what your app does, once. Dillo builds the working backend from that description and keeps it true as you change it. One definition. No second copy. No drift.

The receipts

Three files. One backend.

Describe the data, define what it does, say where it runs. The code that calls it is written from the same description, so the two sides can’t drift apart. The description even carries a photo upload: files are part of the deal, not an add-on.

schema.tswhat your data looks like · who can touch it
import { boolean, file, owner, schema, string, table } from "create-dillo/schema";

// One table: fields that say what they hold, private to the person who created the row —
// and a cover photo for the project. A real upload: the file itself
// lives in R2 (the file storage), and the row keeps its id.
export default schema({
  Project: table({
    name: string().min(1).max(120),
    active: boolean().default(true),
    cover: file().accept("image/*").maxSize("10 MB").optional(),
  }).permissions({
    view: owner, // the armor: enforced on every request
    edit: owner,
  }),
});
backend.tswhat your app does · functions, validated
import { defineBackend, defineFunction } from "create-dillo/backend";
import { string } from "create-dillo/schema";
import schema from "./schema.ts";

export default defineBackend({
  schema,
  functions: {
    greet: defineFunction()
      .input({ name: string().min(1) })
      .output({ message: string() })
      .handler((_context, input) => ({ message: `Hello ${input.name}` })),
  },
});
alchemy.run.tswhere it runs · on your own account
import { app } from "create-dillo/deploy/cloudflare";
import backend from "./backend.ts";

export default app({
  id: "my-app",
  backend,
  signup: "open",
});
client.tshow anything calls it · written from the same description
import { Armadillo } from "create-dillo/client";
import type backend from "./backend.ts";

// Written from your own backend — there is no second copy to drift.
// (That address is the app running on your own machine while you build.)
const api = Armadillo.client<typeof backend>({ url: "http://localhost:8787" });

const project = await api.tables.Project.create({ name: "Garden", active: true });
const active = await api.tables.Project.query().where({ active: true }).limit(20).find();

// A function call: greet takes a name, checks it, and answers.
const { message } = await api.functions.greet({ name: "Sam" });
// message → "Hello Sam"

// Files are uploads, not placeholders. The photo itself goes up —
// it lands in R2 — and then the row is pointed at it: open the
// project, and there's its photo. (coverFile is a File from your page.)
const photo = await api.files.upload(coverFile);
await api.tables.Project.update(project.id, { cover: photo.id });

The companion

Meet Dillo’s companion, Flows.

In Flows, you write a job once, approve the key steps, and let it run while Dillo keeps your data, files, and work safe.

Meet Flows