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

generator-nestjs-app

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-nestjs-app

A yeoman generator for nestjs apps

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

NESTJS YEOMAN

NESTJS GENERATOR

A yeoman generator for nestjs apps.

ABOUT

This generator helps you create a NestJS app with ease. It also comes with support for the following

  • Decorators
  • Exceptions
  • Guards
  • Interceptors
  • Middlewares
  • Modules

OPTIONS

NestJS app options available

  • SQL Typeorm app
  • Mongoose app
  • Seqelize app
  • Passport app
  • Graph QL apollo app
  • Mongo Typeorm app
  • Configurable Mongoose app

USAGE

Install dependencies

$ npm install -g yo
$ npm install -g generator-nestjs-app

The to create an app, run

$ yo nestjs-app

For other components run

$ yo nestjs-app:[COMPONENT] [NAME] 

For example

$ yo nestjs-app:middleware app-auth
$ yo nestjs-app:decorator roles

OPTIONS

yo nestjs-app (For creating a NestJS app)

--skip-install - Skips installation of dependencies when bootstrappping an app

--npm - Install dependencies with npm

--yarn - Install dependencies with yarn

yo nestjs-app:[COMPONENT] [NAME] (For creating components)

[COMPONENT] - The type of the component to be created

[NAME] - The name of the component to be created

yo nestjs-app:module [NAME] (For creating a nestjs module)

[NAME] - The name of the module to be created (required)

ARGUMENTS

--mongoose-module

--sequelize-module

--sql-typeorm

--mongo-typeorm

--graphql-module

FILE AND COMPONENT NAMING

By Angular File Naming Convention, names for components should be in kebab case. For example

yo nestjs-app:decorator app-user-routes

This creates a decorator with filename app-user-routes.decorator.ts decorator name AppUserRoutesDecorator

CONTRIBUTIONS AND ISSUES

Contributions and filing of issues are gladly welcome. Before contributing, be sure to read the CONTRIBUTING GUIDE

LICENSE

MIT LICENSE

Keywords

FAQs

Package last updated on 10 Mar 2018

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