Skip to content

Next Steps

You’ve got a running todo app. From here, follow one of these threads depending on what you’re trying to add.

  • Schema DSL — every column type, modifier, and option
  • Refs and cascades — foreign keys, onDelete, subscript ergonomics
  • Migrations — how ensureSchema and runMigrations handle schema evolution
  • Files and blobs — the file() column type, R2 storage, and usePlasmaFile
  • CRDT columns — G-Counter / PN-Counter / LWW-Register / OR-Set
  • Encryption.encrypted() columns, DEK wiring, at-rest vs E2EE trade-off
  • Deployment — Wrangler, D1, R2, environment wiring
  • Testing — fake-indexeddb for the client, Miniflare
    • @cloudflare/vitest-pool-workers for the server
  • Devtools — the in-page panel and the Chrome DevTools bridge
  • Troubleshooting — indexed by symptom. If you got an error message, start here.