Allows you to generate a number of randomly generated passwords through a REST API. This project was bootstrapped with Create React App.
- Python3+
- Flask
pip install Flask
- Flask-Cors
pip install Flask-Cors
- requests
pip install requests
- Node.js
- npm
python3 api/app.py
- API runs on port 5001 and is accessible at
/generate
with the require query string parameters.- Query parameters are:
- length: integer length of randomly generated password(s)
- amount: integer amount of randomly generated passwords
- Ex: http://localhost:5001/generate?length=8&amount=3
- Query parameters are:
- API can run on standalone
npm start
- Front-end runs on port 3000 and can be accessed @ http://localhost:3000.
- Ensure the API is running