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