express-easer
v0.0.4
Published
express-easer CLI
Downloads
4
Readme
express-easer CLI
A CLI for express scaffolding your express project with typescript and prisma ORM.
Instalation
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;
License
MIT - see LICENSE