{"id":13598911,"url":"https://github.com/ashinzekene/generator-nestjs-app","last_synced_at":"2025-04-13T06:30:54.392Z","repository":{"id":57263268,"uuid":"118064788","full_name":"ashinzekene/generator-nestjs-app","owner":"ashinzekene","description":"🏗️ A yeoman generator for nestjs apps","archived":false,"fork":false,"pushed_at":"2019-09-24T10:18:55.000Z","size":371,"stargazers_count":57,"open_issues_count":7,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T01:42:43.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashinzekene.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-19T02:18:15.000Z","updated_at":"2024-06-07T15:49:02.000Z","dependencies_parsed_at":"2022-09-02T05:23:41.836Z","dependency_job_id":null,"html_url":"https://github.com/ashinzekene/generator-nestjs-app","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashinzekene%2Fgenerator-nestjs-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashinzekene%2Fgenerator-nestjs-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashinzekene%2Fgenerator-nestjs-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashinzekene%2Fgenerator-nestjs-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashinzekene","download_url":"https://codeload.github.com/ashinzekene/generator-nestjs-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248674615,"owners_count":21143759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T17:00:58.041Z","updated_at":"2025-04-13T06:30:54.330Z","avatar_url":"https://github.com/ashinzekene.png","language":"JavaScript","funding_links":[],"categories":["Runtime","资源"],"sub_categories":["运行"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./nestjs.jpg\" alt=\"NESTJS\" /\u003e\n  \u003cimg src=\"./yeoman.png\" alt=\"YEOMAN\" /\u003e\n  \u003ch1 align=\"center\"\u003eNESTJS GENERATOR\u003c/h1\u003e\n  \u003cp align=\"center\"\u003eA yeoman generator for nestjs apps.\u003c/p\u003e\n\u003c/p\u003e\n\n### ABOUT\nThis generator helps you create a [NestJS](https://github.com/nestjs/nest) app with ease. It also comes with support for the following\n\n- Decorators\n- Exceptions\n- Guards\n- Interceptors\n- Middlewares\n- Modules\n### OPTIONS\n\nNestJS app options available \n\n- SQL Typeorm app\n- Mongoose app\n- Seqelize app\n- Passport app\n- Graph QL apollo app\n- Mongo Typeorm app\n- Configurable Mongoose app\n\n### USAGE\n\nInstall dependencies\n\n```sh\n$ npm install -g yo\n$ npm install -g generator-nestjs-app\n```\n__The to create an app, run__\n\n```sh\n$ yo nestjs-app\n```\n__For other components run__\n\n```sh\n$ yo nestjs-app:[COMPONENT] [NAME] \n```\nFor example\n\n```sh\n$ yo nestjs-app:middleware app-auth\n```\n```sh\n$ yo nestjs-app:decorator roles\n```\n\n### OPTIONS\n\n#### `yo nestjs-app` (For creating a NestJS app)\n\n\n`--skip-install` - Skips installation of dependencies when bootstrappping an app \n\n`--npm` - Install dependencies with npm \n\n`--yarn` - Install dependencies with yarn \n\n#### `yo nestjs-app:[COMPONENT] [NAME]` (For creating components)\n\n\n`[COMPONENT]` - The type of the component to be created\n\n`[NAME]` - The name of the component to be created\n\n#### `yo nestjs-app:module [NAME]` (For creating a nestjs module)\n\n\n`[NAME]` - The name of the module to be created (required)\n\nARGUMENTS\n\n--mongoose-module\n\n--sequelize-module\n\n--sql-typeorm\n\n--mongo-typeorm\n\n--graphql-module\n\n\n### FILE AND COMPONENT NAMING\n\nBy [Angular File Naming Convention](https://angular.io/guide/styleguide), names for components should be in kebab case. For example\n\n```\nyo nestjs-app:decorator app-user-routes\n```\n\nThis creates a decorator with filename `app-user-routes.decorator.ts` decorator name `AppUserRoutesDecorator`\n\n### CONTRIBUTIONS AND ISSUES\n\nContributions and filing of issues are gladly welcome. Before contributing, be sure to read the [CONTRIBUTING GUIDE](changelog.md)\n\n- For making pull requests, you can use the [PR template](PULL_REQUEST-TEMPLATE.md)\n\n- For submitting, you can use the [ISSUES template](ISSUE_TEMPLATE.md)\n\n### LICENSE\n\n[MIT LICENSE](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashinzekene%2Fgenerator-nestjs-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashinzekene%2Fgenerator-nestjs-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashinzekene%2Fgenerator-nestjs-app/lists"}