react-redux-saga-generator
v2.0.4
Published
> Command-Line package to make code generation for your redux CRUD files (actionTypes,action,reducer,saga)
Downloads
131
Maintainers
Readme
react-redux-saga-generator
Command-Line package to make code generation for your redux CRUD files (actionTypes,action,reducer,saga)
Install
npm install react-redux-saga-generator
// or
npm install -g react-redux-saga-generator
Description
If you are already using (Reactjs,Redux,Redux-Saga,Axios) then
react-redux-saga-generator will create a completely code genration for your redux CRUD with full integration with server side By calling it on your command-line
It depends on some questions like :
- CRUD Name
- if you want to use get method for get your crud items with completely pagination or get item details
- if you want to use post method for add new item
- if you want to use put method for update item
- if you want to use delete method for delete one item
Usage
in your command-line run this command :
- if you install it using -g use : genRedux
- if you install it locally use : npx genRedux
Example