Given a password, assess its robustness, based on character set and password dictionaries
A Flask powerer API.
As good default practices, use a virtual environment, install dependencies pip install -f requirements.txt
Unit tests are in doctests, and integration ones in xxx_test.py
To run all of them
pytest
To run all of them, on file changes (useful in dev)
ptw
Once the API is running (flask run
), you can post to:
http://127.0.0.1:5000/api/check
{
"password": "paf the dog"
}
The frontend is a simple Vue.js application
A few dictionaries are checked. They reside in the flask/resources/dictionaries
folder.