rokio-crud-generator

rokio CLI

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
rokio-crud-generator
2.1.53 months ago4 months agoMinified + gzip package size for rokio-crud-generator in KB

Readme

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