https://github.com/ericmdantas/ngf
Simple alias for the generator-ng-fullstack project
https://github.com/ericmdantas/ngf
ng-fullstack
Last synced: 7 months ago
JSON representation
Simple alias for the generator-ng-fullstack project
- Host: GitHub
- URL: https://github.com/ericmdantas/ngf
- Owner: ericmdantas
- Created: 2017-02-02T14:36:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T12:45:58.000Z (about 8 years ago)
- Last Synced: 2025-06-05T23:18:49.823Z (8 months ago)
- Topics: ng-fullstack
- Language: JavaScript
- Homepage:
- Size: 630 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/ericmdantas/ngf)
[](https://coveralls.io/github/ericmdantas/ngf?branch=master)
Simple alias for [`generator-ng-fullstack`](https://github.com/ericmdantas/generator-ng-fullstack).
### Prerequisites
You'll need to have both `yo` and `generator-ng-fullstack` installed globally
```shell
$ npm i -g yo
```
```shell
$ npm i -g generator-ng-fullstack
```
### Install
```shell
$ npm i -g ngf
```
### What?
The idea is to have something similar to [`angular-cli`](https://github.com/angular/angular-cli) - but with `ng-fullstack` in mind.
### Why?
Because typing `yo ng-fullstack:component people_cmp --feature person` all the time sucks.
### How?
`ngf` simply passes the info down to `ng-fullstack`, there's no black magic involved.
### API
Answer some questions by runing:
```shell
$ ngf
# runs `yo ng-fullstack` behind the hood
```
Create components, services, models and many others, by running:
```shell
$ ngf g cmp people_cmp --ft person
# creates a new component called people_cmp
# it's the same as running: `yo ng-fullstack:component people_cmp --feature person`
# ngf: is the responsible to talk with ng-fullstack
# g: means `generate`
# cmp: is the type of file that's being created - a component
# people_cmp: is the name given to the file/component
# --ft: means the `--feature`, which is the context to the created file
```
Check the [API section in the wiki](https://github.com/ericmdantas/ngf/wiki/API) and the [pro tips](https://github.com/ericmdantas/ngf/wiki/Pro-tips) for improvements in your workflow.
### LICENSE
MIT