@soinlabs/crud

0.1.12 • Public • Published

CRUD Generator

npm version npm downloads

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.

Readme

Keywords

Package Sidebar

Install

npm i @soinlabs/crud

Weekly Downloads

105

Version

0.1.12

License

MIT

Unpacked Size

33.7 kB

Total Files

50

Last publish

Collaborators

  • ema-cr
  • chus91
  • msanchezcr
  • darkj24
  • lchavarria
  • e2ure