MODEL DATA ASCODE

Structured Data, Defined as Code.

Model, manage, and interact with your application's data objects through a simple, declarative API. Transform your data layer into intelligent, version-controlled resources.

Join waitlist

resources.do

import { Resource } from 'resources.do';

const customerResource = new Resource({
  name: 'Customer',
  schema: {
    id: { type: 'string', required: true },
    name: { type: 'string', required: true },
    email: { type: 'string', format: 'email', required: true },
    company: { type: 'string' },
    status: { type: 'string', enum: ['active', 'inactive', 'pending'] },
    createdAt: { type: 'date', default: 'now()' }
  },
  relationships: [
    { type: 'hasMany', resource: 'Order' }
  ]
});

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.