Simple API to validate a password that must meet the following requirements:
- minimum of 8 characters
- Contain at least one lowercase character
- Contain at least one uppercase character
- Contain at least one special character
- POST {host}/validate-password
- Request query fields:
password
- Responses
- 204 No Content if the password meets all the requirements.
- 400 Bad Request if the password fails the validation
- Install dependencies using:
npm install
- Start the server using the following command on your terminal:
node src/app.js
http://localhost:3000/validate-password