A simple password validator made for learning a bit of Koa
Clone this project and run npm i
.
To run tests execute npm run test
, powered by vitest and supertest.
This projects has only one endpoint for post requests at /password-validator
and executes the validation logic called by the router.