CRUD Generator
Module to generate automated CRUDS
How to run it? Two steps:
1- Create the necessary service inside your work area:
In the root folder please run:
yarn service
2- Generate your CRUD base on a model:
You have you run:
yarn generate
Then fill the questions with the information, almost all questions have a default response, that you can see next to the question.
The first command will create a service inside your packages folder that will be consumed by the controller that will be generated with the generate command.
Notes:
1- If the model does not exist in your DB folder, the program will generate a template base model.
2- If you do not provide your database table name the program will pluralize the model that you have provided.
3- Make sure that the node version that your projects is using is 10.3 or higher.