Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@soinlabs/crud

Package Overview
Dependencies
Maintainers
6
Versions
20
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

  • 0.1.12
  • latest
  • npm
  • Socket score

Version published
Maintainers
6
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

FAQs

Package last updated on 24 Feb 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc