cli-oliver
v1.2.3
Published
- Version: 1.2.3 - Author: Wictor Hiago - License: MIT - Description: CLI OLIVER is a CLI for building RESTful APIs with Node.js. Oliver CLI provides a rapid and clean architecture structure, fully customizable, and includes pre-configured packages such
Downloads
33
Readme
CLI OLIVER
- Version: 1.2.3
- Author: Wictor Hiago
- License: MIT
- Description: CLI OLIVER is a CLI for building RESTful APIs with Node.js. Oliver CLI provides a rapid and clean architecture structure, fully customizable, and includes pre-configured packages such as Express.js, Morgan, and Cors.
Install
npm install cli-oliver
npm install express morgan cors
npm isntall @types/express @types/morgan @types/cors -D
tsc -init
Configre tsconfig.json
"target": "ES2022",
COMMANDS:
npx oliver list // list all commands<br>
npx oliver make:usecase <yourUseCaseName> // create a new use case
npx oliver make:controller <yourControllerName> // create a new controller