Skip to content

Nest architecture element generation based on Angular schematics 🎬

License

Notifications You must be signed in to change notification settings

kalacs/schematics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Useful Schematics for Nest JS

Description

In order to help people manage their projects, the CLI tool has been created. It helps on many grounds at once, from scaffolding the project to build well-structured applications. The Nest CLI is based on the @angular-devkit package. Also, there're special schematics that are dedicated to the Nest development @nestjs/schematics.

Installation

Requirement:

It has to be installed @angular-devkit/schematics-cli package:

npm install -g @angular-devkit/schematics-cli

NPM:

npm install -g @kalacs/schematics

Usage

schematics @kalacs/schematics:rest_module --no-dry-run --spec --language="ts" --sourceRoot="src" --name="cat" --attributes='name:string:Min(10, 20);age:number:IsUUID('3'):Max(20);breed:string:IsUUID("1")'

Usage

Roadmap:

  • move common components (eg. PaginationInterceptor) to separate repository
  • make database service selectable
  • make swagger module optional

Stay in touch

About

Nest architecture element generation based on Angular schematics 🎬

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 70.9%
  • JavaScript 25.0%
  • Makefile 2.2%
  • Dockerfile 1.9%