@vigiadepreco/cli

1.0.0 • Public • Published

Description

This project is a fork of project @nestjs/cli for use in Vigia de Preço https://vigiadepreco.com.br/ projects.

The purpose of the CLI is to automatically generate files used in the projects by implementing a Domain-Driven-Design model:

  • Controller: with basic CRUD linked to the domain, with standardized pagination and response
  • Domain: with the possibility of extending generic class with CRUD functions
  • Data Transfer Object (DTO): basic implementation containing class-validator, class-transformer, swagger
  • Entity: basics of creating isolated entities from database standards so that it is possible to use repositories
  • Repository: independent repositories that can be linked to generic repositories like MongoDB, and whatever else is needed
  • Schema: documents and schema for using the MongoDB repository

Installation

$ npm install -g @vigiadepreco/cli

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i @vigiadepreco/cli

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

108 kB

Total Files

101

Last publish

Collaborators

  • gislainyvelasco
  • andrehrf