This example shows how to validate and verify a request with a middleware by using a built in crypto module provided by node.js
Include a secret in your .env
file.
SECRET= // use any secret value
Installation and running:
$ npm i
$ nodemon app.js