API for checking if a password is leaked in breaches. Uses HIBP API.
ADR-001: Storage Strategy for Pwned Password Dataset
APP_ENV=development go run src/main.godocker build -t pwned-api .
docker run --env-file .env.development -e APP_ENV=development -e RUNNING_IN_DOCKER=true -p 8080:8080 pwned-apiGo to this Github repo and follow readme.
Example CURL
curl -X POST http://localhost:8080/check \
-H "Content-Type: application/json" \
-d '{"password": "movies15"}'