0.0.1 • Published 2 years ago

rokio-generator-precode v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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