JSON REST API guide

Use JSON REST API as a mini-ORM through resource methods, or expose the same resources over HTTP. Start with chapters 01–04, then follow the relationship tutorials or jump to the contract you need. Each runnable chapter uses a fresh database unless it explicitly says otherwise.

Upgrading an application? Start with 33. Migrating to v2. Before choosing storage, read 30. Backend capabilities and limits.

The examples require Node.js 24 or newer and familiarity with JavaScript and npm. Development verification targets Node 24.

Getting started

Relationships and queries

Resource behavior

Transactions and schema

Transports and extensions

Limits and migration