nodeboot-starter-persistence-sql

Installation
SKILL.md

@nodeboot/starter-persistence — SQL/relational flavour

Load ../nodeboot-starter-persistence/SKILL.md first for the shared basics (@EnableRepositories(), @DataRepository, transactions). This skill covers what's specific to a relational persistence.type (any TypeORM SQL dialect).

Fresh start or existing app?

Read ../_shared/fresh-vs-existing.md first, then apply it here:

  • Fresh start: npx degit nodejs-boot/node-boot/samples/sample-express my-app — this is the canonical SQL reference sample (uses better-sqlite3, but the entity/repository/migration code is dialect-agnostic; only persistence.<dialect> config changes for Postgres/MySQL/etc).
  • Existing app: check persistence.type in app-config.yaml — if it's any value other than mongodb (e.g. postgres, mysql, better-sqlite3, sqlite, mssql, ...) and/or the app has a src/persistence/migrations/ folder, it's already on the SQL flavour.

Entity shape

Installs
1
GitHub Stars
10
First Seen
Aug 11, 2026
nodeboot-starter-persistence-sql — nodejs-boot/node-boot