Gathering detailed insights and metrics for react-redux-api-generator
Gathering detailed insights and metrics for react-redux-api-generator
Gathering detailed insights and metrics for react-redux-api-generator
Gathering detailed insights and metrics for react-redux-api-generator
react-redux-rest-generator
Generate a reducer and a hook for interacting with a REST API without all the boilerplate.
my-boilerplate-generator
CLI tool to generate boilerplate code in existing projects
react-template-generator-cli
A CLI generator for react components, api config, redux store , pages and api services
react-template-generator-box
A CLI for react to generate file for Api request, redux and components
A ReactJS REST API client generator for projects using axios and redux. Uses OpenAPI 3.0 standard. 🍋
npm install react-redux-api-generator
Typescript
Module System
Node Version
NPM Version
TypeScript (76.45%)
EJS (21.04%)
JavaScript (2.51%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
LGPL-3.0 License
3 Stars
94 Commits
1 Watchers
17 Branches
1 Contributors
Updated on Feb 08, 2023
Latest Version
0.1.3
Package Id
react-redux-api-generator@0.1.3
Unpacked Size
88.99 kB
Size
23.47 kB
File Count
50
NPM Version
6.11.3
Node Version
10.17.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Elegant and easy way to generate REST API actions for your project from
openapi-3.0 .yaml
file. Easily edit and generate quickly when required.
Currently supports api specification only in OpenAPI 3.0.
To install this package we advise you to use -g
to be able to use it globally. Alternatively you
can install this package locally and run the command with npm run
. To install it globally use:
1$ npm install -g react-redux-api-generator
After you have installed this package, you have to be sure to have these packages installed as well to be able to use the code generated by this package:
axios
- used to create http requestslodash
- extends library for objects manipulationsredux-axios-middleware
- creates react middleware for axios clients to be able to handle http requests through reducersAfter you ensured that you have installed all required packages, you can use this package to generate the API from OpenAPI specification:
1$ generate-axios-api 2// OR, depending whether your installation is local or not: 3$ npm run generate-axios-api
The package would search for rrg-config.json
in current directory. If there is no such file it would try to use default settings.
Create a file called rrg-config.json
in your project's root directory next to your package.json
.
To find out what configurations are possible visit the Config Wiki page.
You can also create a build script in the package file:
1{ 2 "scripts": { 3 ... 4 "build-with-api": "npm run generate-axios-api && npm run build" 5 ... 6 } 7}
For the build script we recommend to install this package locally so later it can be recovered when trying to run build script. And now you can just run it from a command line and this would perform full project build with api generation:
1$ npm run build-with-api
This would run full project rebuild.
This project is being developed and distributed under the GNU LGPL 3.0 License.
You can view the full license text here: GNU LGPL 3.0 License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
58 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More