Bring awesome zxcvbn - a password strength estimator to the cloud (AWS Lamda) with serverless
Whenever you need a function to check user password. One minute and you will get it on AWS Lambda that can call everywhere.
First, you will need serverless framework configured AWS credentials.
Next, clone this repo and re-deploy
git clone https://github.com/stephentt-me/zxcvbn-on-lambda.git
cd zxcvbn-on-lambda
serverless deploy
And your function is ready!
Make a REST API call:
curl -H 'Content-Type: application/json' -d '{"password":"xyz"}' https://YOUR-LAMDA.amazonaws.com/PATH
MIT. See LICENSE for more information.