Skip to content

EllyanF/password-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

password-validation

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

Endpoints

Validate Password

  • 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

How to Run

  1. Install dependencies using:
    npm install
  2. Start the server using the following command on your terminal:
    node src/app.js
The application will be available by default at http://localhost:3000/validate-password

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published