Validating requests with a simple middleware for express.
Originally published in my Blog
A key to a good API design is good control of what data your controllers or API end points accepts. Another important key to a good design — is that you can take a brief…