alexmasselot / password-checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Password checker API

Given a password, assess its robustness, based on character set and password dictionaries

Architecture

Python backend

A Flask powerer API.

As good default practices, use a virtual environment, install dependencies pip install -f requirements.txt

Testing

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 

Check it out

Once the API is running (flask run), you can post to:

http://127.0.0.1:5000/api/check
   {
      "password": "paf the dog"
   }

Web frontend

The frontend is a simple Vue.js application

Sources

password dictionaries

A few dictionaries are checked. They reside in the flask/resources/dictionaries folder.

About


Languages

Language:Python 57.9%Language:TypeScript 28.9%Language:Vue 6.5%Language:JavaScript 4.8%Language:HTML 1.5%Language:Dockerfile 0.5%