Socket
Socket
Sign inDemoInstall

@soinlabs/crud

Package Overview
Dependencies
7
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @soinlabs/crud

A package to generate crud utils automatically


Version published
Weekly downloads
133
increased by98.51%
Maintainers
6
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 24 Feb 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc