rokio-crud-generator

2.1.5 • Public • Published

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

/rokio-crud-generator/

    Package Sidebar

    Install

    npm i rokio-crud-generator

    Weekly Downloads

    47

    Version

    2.1.5

    License

    MIT

    Unpacked Size

    42.9 kB

    Total Files

    70

    Last publish

    Collaborators

    • cruzbs