Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netanelbasal/ngrx-generator
ngrx templates generator
https://github.com/netanelbasal/ngrx-generator
angular generator ngrx ngrx-effects ngrx-store template
Last synced: 17 days ago
JSON representation
ngrx templates generator
- Host: GitHub
- URL: https://github.com/netanelbasal/ngrx-generator
- Owner: NetanelBasal
- License: mit
- Created: 2017-06-26T18:43:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T10:15:07.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T08:19:10.783Z (about 1 month ago)
- Topics: angular, generator, ngrx, ngrx-effects, ngrx-store, template
- Language: TypeScript
- Size: 2.76 MB
- Stars: 130
- Watchers: 7
- Forks: 26
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ngrx-generator
### Save yourself the headache of Redux boilerplate [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
![Demo](https://s22.postimg.org/5nlkpozi9/demo.gif)
## Getting Started
Install it via npm:
```shell
npm install ngrx-generator -g
``````shell
ngrx-gen
```By default, it will create the templates in the current directory.
If you prefer the ngrx/example style -
```shell
- reducers
- services
- actions
- effects
- services
```you can add the following line to your `package.json`
```shell
{
"ngrxGen": {
"basePath": "./src/app", // optional - this should be relative to your root package.json file
"seperateDirectory": "true"
}
}
```![Demo](https://s23.postimg.org/8urbz1xjv/demo2.gif)
## License
MIT