Skip to content

Examples ​

Runnable Accord apps, from a tiny bank to a durable CRM with contract migrations. Each one runs on Node.js 24 with no external accounts.

The source lives in the accord-examples repository.

ExampleWhat it shows
BankFactory aggregates, value objects, a view, services, and the Effect version
Notifications + SQLite ledgerPolicies, projections, external system contracts, real HTTP adapters
Durable bankRestart recovery and atomic SQL projections across processes
CRM and migrationsSeveral aggregates, policies, a durable pipeline, and contract versioning

Run them ​

sh
git clone https://github.com/marcelsud/accord-examples.git
cd accord-examples
npm ci
npm run build
npm run bank

Moving to a separate repository

The examples are being moved out of the main repository. Until that happens, run them from accord/examples: npm ci --ignore-scripts && npm run check, then npm run example, npm run example:effect, npm run example:sqlite, npm run example:sqlite:effect, npm run example:durable, and npm run example:crm.

Accord is currently UNLICENSED. No open-source license has been selected yet.