TypeScript framework for automatic CRUD API generation with Drizzle ORM and Express. Version 0.4.3 provides zero-configuration REST endpoints from decorated model classes, supporting PostgreSQL and MySQL. Key features: @Field() decorators with type validation (uuid, string, enum, json, etc.), advanced filtering (range, negation, LIKE, IN), offset and cursor pagination, soft delete, lifecycle hooks, transactional support, built-in Scalar API docs, health checks, graceful shutdown, and request timeout middleware. Compared to feathers.js or LoopBack, Crudora focuses specifically on Drizzle ORM and TypeScript with minimal boilerplate, shipping ESM/CJS dual builds and full type declarations. Maintenance status: active with regular releases.
npm install crudoraNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a minimal CRUD API server with a User model and PostgreSQL database.
Ensure schema, tableName, hidden are declared with 'static' keyword.
Add @Field() decorator to all model properties that should be persisted.
Ensure the schema exists in your database, or omit static schema to use the default.
Always define static tableName to avoid breaking changes.
Run 'npm install @scalar/express-api-reference' and pass { docs: true } to CrudoraServer constructor.Run 'npm install crudora drizzle-orm'
Use import { Model } from 'crudora'Ensure 'static schema' is declared on the model class.