A schematics collections for generate source files for Angular7+ and NestJS application based on Rucken template
npm install -g @angular-devkit/schematics-cli
npm install -g @rucken/schematics
# create workspace
schematics @rucken/schematics:workspace custom-workspace --author EndyKaufman --email admin@site15.ru
# move to created workspace
cd custom-workspace
# create frontend application in workspace
schematics @rucken/schematics:rucken-app custom-app --api=/api --author EndyKaufman --email admin@site15.ru
# install dependencies
npm i
# start dev server for frontend application
ng serve custom-app
- Rucken app - Frontend application generator on Angular7+ with Bootstrap3, based on the Rucken template
- Rucken app ionic - Mobile frontend generator application on Angular7+ with Ionic4, based on the Rucken template
- Rucken app nestjs - REST generator backend applications on NestJS with TypeORM, based on the Rucken template
- Rucken entity - Model generator for frontend application, based on the Rucken template
- Rucken entity ionic - The generator of the main components for editing data on the model and for a mobile frontend application on Angular7+ with Ionic4, based on the Rucken template
- Rucken entity ionic to app - Binding components for editing an entity to a mobile frontend application on Angular7+ with Ionic4, based on the Rucken template
- Rucken entity nestjs - The generator of the entity, the DTO, the service and the controller, for editing the entity data for the backend of the application on NestJS with TypeORM, based on the Rucken template
- Rucken entity web - The generator of the main components for editing data on the model and for the frontend application on Angular7+ with Bootstrap3, based on the Rucken template
- Rucken entity web to app - Binding of components for editing an entity to a frontend application on Angular7+ with Bootstrap3, based on the Rucken template
- Rucken lib - Frontend library generator, based on the Rucken template
- Rucken lib nestjs - Backend library generator on NestJS, based on the Rucken template
- Rucken lib nestjs to app - Linking the library to the backend application on NestJS, based on the Rucken template
- Rucken lib to app - Linking the library to the frontend application on Angular7+, based on the Rucken template
- Workspace - Workspace generator, based on the Rucken template
Frontend application generator on Angular7+ with Bootstrap3, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-app custom-app --api=/api --author EndyKaufman --email admin@site15.ru
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the application. | {"$source":"argv","index":0} |
org | {string} | The name of organization. | none |
api | {string} | The backend api address (/api, http://host.com/api, https://api.host.com). | none |
author | {string} | Author name. | none |
{string} | Author email name. | none |
Name | Used | Current |
---|---|---|
@angular-devkit/build-angular | ||
@angular/cli | ||
@angular/compiler-cli | ||
@compodoc/compodoc | ||
@rucken/cli | ||
domino | ||
ts-node | ||
tslib | ||
typescript | ||
webpack-cli |
See code: src/schematics/rucken-app/index.ts
Mobile frontend generator application on Angular7+ with Ionic4, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-app-ionic custom-app-ionic --api=/api --author EndyKaufman --email admin@site15.ru
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the application. | {"$source":"argv","index":0} |
org | {string} | The name of organization. | none |
api | {string} | The backend api address (/api, http://host.com/api, https://api.host.com). | none |
author | {string} | Author name. | none |
{string} | Author email name. | none |
See code: src/schematics/rucken-app-ionic/index.ts
REST generator backend applications on NestJS with TypeORM, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-app-nestjs custom-app-nestjs --author EndyKaufman --email admin@site15.ru
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the application. | {"$source":"argv","index":0} |
org | {string} | The name of organization. | none |
author | {string} | Author name. | none |
{string} | Author email name. | none |
See code: src/schematics/rucken-app-nestjs/index.ts
Model generator for frontend application, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-entity custom-entity --org custom-org --lib custom-lib
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the entity. | {"$source":"argv","index":0} |
lib | {string} | The name of the library. | none |
org | {string} | The name of organization. | none |
See code: src/schematics/rucken-entity/index.ts
The generator of the main components for editing data on the model and for a mobile frontend application on Angular7+ with Ionic4, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-entity-ionic custom-entity --org custom-org --lib custom-lib-ionic --entitiesLib custom-lib
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the entity. | {"$source":"argv","index":0} |
lib | {string} | The name of the library. | none |
entitiesLib | {string} | The name of the library with entities. | none |
org | {string} | The name of organization. | none |
See code: src/schematics/rucken-entity-ionic/index.ts
Binding components for editing an entity to a mobile frontend application on Angular7+ with Ionic4, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-entity-ionic-to-app custom-entity --lib custom-lib-ionic --org custom-org --app custom-app-ionic --entitiesLib custom-lib
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the entity. | {"$source":"argv","index":0} |
lib | {string} | The name of the library. | none |
entitiesLib | {string} | The name of the library with entities. | none |
org | {string} | The name of organization. | none |
app | {string} | The name of application. | none |
See code: src/schematics/rucken-entity-ionic-to-app/index.ts
The generator of the entity, the DTO, the service and the controller, for editing the entity data for the backend of the application on NestJS with TypeORM, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-entity-nestjs custom-entity --org custom-org --lib custom-lib-nestjs --timestamp 1553957529598
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the entity. | {"$source":"argv","index":0} |
lib | {string} | The name of the library. | none |
org | {string} | The name of organization. | none |
timestamp | {number} | Timestamp used in migrations. | none |
See code: src/schematics/rucken-entity-nestjs/index.ts
The generator of the main components for editing data on the model and for the frontend application on Angular7+ with Bootstrap3, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-entity-web custom-entity --org custom-org --lib custom-lib-web --entitiesLib custom-lib
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the entity. | {"$source":"argv","index":0} |
lib | {string} | The name of the library. | none |
entitiesLib | {string} | The name of the library with entities. | none |
org | {string} | The name of organization. | none |
See code: src/schematics/rucken-entity-web/index.ts
Binding of components for editing an entity to a frontend application on Angular7+ with Bootstrap3, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-entity-web-to-app custom-entity --lib custom-lib-web --org custom-org --app custom-app --entitiesLib custom-lib
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the entity. | {"$source":"argv","index":0} |
lib | {string} | The name of the library. | none |
entitiesLib | {string} | The name of the library with entities. | none |
org | {string} | The name of organization. | none |
app | {string} | The name of application. | none |
See code: src/schematics/rucken-entity-web-to-app/index.ts
Frontend library generator, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-lib custom-lib-web --org custom-org --author EndyKaufman --email admin@site15.ru
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the library. | {"$source":"argv","index":0} |
org | {string} | The name of organization. | none |
author | {string} | Author name. | none |
{string} | Author email name. | none |
See code: src/schematics/rucken-lib/index.ts
Backend library generator on NestJS, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-lib-nestjs custom-lib-nestjs --org custom-org --author EndyKaufman --email admin@site15.ru
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the library. | {"$source":"argv","index":0} |
org | {string} | The name of organization. | none |
author | {string} | Author name. | none |
{string} | Author email name. | none |
See code: src/schematics/rucken-lib-nestjs/index.ts
Linking the library to the backend application on NestJS, based on the Rucken template
Example:
schematics @rucken/schematics:rucken-lib-nestjs-to-app custom-lib-nestjs --org custom-org --app custom-app-nestjs
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the library. | {"$source":"argv","index":0} |
org | {string} | The name of organization. | none |
app | {string} | The name of application. | none |
See code: src/schematics/rucken-lib-nestjs-to-app/index.ts
Linking the library to the frontend application on Angular7+, based on the Rucken template
Examples:
schematics @rucken/schematics:rucken-lib-to-app custom-lib --org custom-org --app custom-app
schematics @rucken/schematics:rucken-lib-to-app custom-lib-web --org custom-org --app custom-app
schematics @rucken/schematics:rucken-lib-to-app custom-lib --org custom-org --app custom-app-ionic
schematics @rucken/schematics:rucken-lib-to-app custom-lib-ionic --org custom-org --app custom-app-ionic
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the library. | {"$source":"argv","index":0} |
org | {string} | The name of organization. | none |
app | {string} | The name of application. | none |
See code: src/schematics/rucken-lib-to-app/index.ts
Workspace generator, based on the Rucken template
Example:
schematics @rucken/schematics:workspace custom-workspace --author EndyKaufman --email admin@site15.ru
Name | Type | Description | Default |
---|---|---|---|
name | {string} | The name of the workspace. | {"$source":"argv","index":0} |
author | {string} | Author name. | none |
{string} | Author email name. | none |
See code: src/schematics/workspace/index.ts
MIT