New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngcrud

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngcrud

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

NGCRUD Ruby Gem

Description

NGCRUD is a Ruby gem designed to simplify Angular code generation in the command-line interface (CLI), similar to the functionality provided by Rails for Ruby on Rails applications. With NGCRUD, you can effortlessly scaffold Angular components based on your defined models, streamlining the development of Angular applications.

This gem is currently in its early stage of development. While I have made efforts to ensure its functionality, it may contain bugs, limitations, or incomplete features. I'm actively working to improve and enhance its performance and functionality.

Requirements

The code generated by this gem requires an installation of Angular, ngx-toastr and the following Angular Firestore modules:

  • AngularFirestore
  • AngularFirestoreCollection
  • AngularFirestoreDocument

Installation

To install NGCRUD, use RubyGems:

gem install ngcrud

Use

Suppose you want to generate Angular code for a "Contacts" model with the following attributes:

  • name (string)
  • telephone (string)
  • birth_date (date)
  • active (boolean)
ngcrud Contacts name:string telephone:string birth_date:date active:boolean email_marketing:boolean

This will generate inside src/app/features/contacts the following files and code:

  • contact.ts - Resource interface typescript
  • contacts.service.ts - The service
  • /contacts-create/contacts-create.component.html
  • /contacts-create/contacts-create.component.ts
  • /contacts-list/contacts-list.component.html
  • /contacts-list/contacts-list.component.ts

License

NGCRUD is released under the MIT License.

Contact

If you have any questions or feedback, feel free to contact me mdorozcog@gmail.com

Happy coding!

FAQs

Package last updated on 09 Oct 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