Welcome to rokio CLI.
Created JSON template with domain name in jsons/templates/ in that format bellow:
Ex: jsons/templates/customer.json
{
"id":{
"type": "number"
}
"name": {
"type": "string",
"example": "José"
},
"age": {
"type": "number",
"example": 77
},
"check": {
"type": "boolean",
"example": true
}
}
Type for entities Example for documentation Swagger
$ npx rokio generator-crud || gc domain
ex: $npx rokio gc Order
$ npx rokio generator-route || gr domain
ex: $npx rokio gr Order
MIT - see LICENSE