Skip to content

Nest architecture element generation based on Angular schematics 🎬

License

Notifications You must be signed in to change notification settings

drohan2536/schematics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Schematics

Custom schematics can streamline the process of generating code and adding features to your Nest.js project. Follow these steps to use your custom schematics:

  1. Initialize Your Nest Project: Make sure you have a Nest.js project set up.

  2. Install the Custom Schematics Package: In your project's root directory, install the custom schematics package by running the following command:

    npm install @samagra-x/schematics
  3. Modify the contents of your nest-cli.json file to the following

    {
      "$schema": "https://json.schemastore.org/nest-cli",
      "collection": "@samagra-x/schematics",
      "sourceRoot": "src",
      "compilerOptions": {
        "deleteOutDir": true
      }
    }

Now, You can use commands like nest generate like normal, along with arguments like nest g <CUSTOME_STENCIL_SERVICE_NAME> to generate custom service. Currently supported services are:

  • Prisma
  • Monitoring Using Prometheus and Grafana
  • Temporal
  • Logging
  • File Upload

About

Nest architecture element generation based on Angular schematics 🎬

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.0%
  • Shell 4.1%
  • JavaScript 3.3%
  • Other 0.6%