resources.do

REST APIs That Scale Automatically

Type-safe resource management with automatic CRUD, validation, and intelligent caching. Build production-ready REST APIs in minutes with full OpenAPI specs, semantic search, and query optimization across 300+ edge locations.

Read the docs
index.tsresources.do
import { Resources } from 'resources.do' // Auto-generate REST API with validationconst api = Resources({  users: { schema: { id: 'uuid', email: 'email', name: 'string' } },  posts: { schema: { id: 'uuid', title: 'string', content: 'text' } }}) on.User.created($ => {  $.Email.send.Welcome({ to: $.User.email })  $.Analytics.track.Signup({ user: $.User })}) api.every.deploy($ => $.generate.OpenAPI({ version: '3.1' }))

One of 48 primitives

resources.do sits in Data: records, vocabulary and search. Every .do shares one grammar, Business-as-Code, and one SDK.

Business

Goals, plans and the work itself

Workflows

Triggers, steps and functions

Data

Records, vocabulary and search

Insight

Measure, test and trace

Build

Ship from code, CLI or MCP

Frequently asked questions

Build your 1-person unicorn

Write the business. Agents run it around the clock.

Read the docs