@reggieofarrell/firestore-orm
Type-safe Firestore for the Firebase Admin SDK. Repositories, Zod validation, lifecycle hooks, and a fluent query builder — built for Node.js backends.
Why @reggieofarrell/firestore-orm?
Section titled “Why @reggieofarrell/firestore-orm?”- Type-safe repositories — one consistent API per collection, inferred from your Zod schemas.
- Validation on writes — schemas run before Firestore sees the payload; sentinels stay atomic.
- Lifecycle hooks —
before*/after*hooks around create, update, and delete. - Fluent queries — filters, pagination, aggregations, streaming, and real-time listeners.
- Admin SDK native — Express, NestJS, Cloud Functions, or any Node.js server.
Where to go next
Section titled “Where to go next”- Getting Started — install peers, define a schema, create and query documents.
- Documentation overview — full guide index by topic.
- Core Concepts — repository pattern, converters, and delete semantics.
- API Reference — every
FirestoreRepository/FirestoreQueryBuildersignature.