A CLI for express scaffolding your express project with typescript and prisma ORM.
Run npm install --global express-easer
or yarn global express-easer
;
Inside a project with express, typescript and prisma ORM, run the follows commands:
-
easer init
- Generate all initial structure for your project; -
generate:controller <controller-name>
- use PascalCase on to generate a new static controller class; -
generate:service <service-name>
- use PascalCase on to generate a new static service class; -
generate:route <route-name>
- give a to generate a new route;
MIT - see LICENSE