apig
apig is the command-line interface tool for crud-api.
It auto-generates the scaffolding of an /endpoint or a microservice.
installation
$ npm i -g @ctt/apig
run generator
To generate a service or an endpoint, simply follow the instructions when you execute the apig
command
$ apig
notes
- After generating a service, rename the
package.json.replace
at root of new service topackage.json