@faster-crud/gen
v0.2.2
Published
Code generation stub for @faster-crud (Phase 2)
Readme
@faster-crud/gen
@faster-crud CLI code generator — scaffold entities, services, and controllers.
Install
npm install @faster-crud/core @faster-crud/genUsage
# Generate a full CRUD module
npx @faster-crud/gen generate --name Post --fields "title:string,content:string,published:boolean"
# Output:
# post.entity.ts — @Resource entity with @Col decorators
# posts.service.ts — service extending the adapter
# posts.controller.ts — controller extending CrudControllerFactory
# posts.module.ts — NestJS moduleDocumentation
Full docs at github.com/bkmashiro/nest-faster-crud
Ecosystem
| Package | Description |
|---------|-------------|
| @faster-crud/core | Decorators and types |
| @faster-crud/nest | NestJS controller factory |
| @faster-crud/typeorm | TypeORM adapter |
| @faster-crud/prisma | Prisma adapter |
