🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@soinlabs/crud

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soinlabs/crud

A package to generate crud utils automatically

latest
npmnpm
Version
0.2.1
Version published
Weekly downloads
87
14.47%
Maintainers
0
Weekly downloads
 
Created
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

crud

FAQs

Package last updated on 07 Mar 2025

Did you know?

Socket

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