Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

ngrx templates generator

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