10.10.11 • Published 2 years ago
rokio-crud-precode v10.10.11
rokio CLI
Welcome to rokio CLI.
Preparation
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
Commands
$ npx rokio generator-crud || gc domain
ex: $npx rokio gc Order
$ npx rokio generator-route || gr domain
ex: $npx rokio gr Order
License
MIT - see LICENSE