Prevention of CSRF using Double Submit Cookies Pattern implemented in Node.js
Node.js should be installed to the machine (better if the version is the latest)
- Clone or download the repository
- Open command prompt in the containing folder
- Type
npm installto install the node modules - Type
npm startornode index.jsto start the application - Navigate to
http://localhost:4000/via a web browser to view the application
Username and Password are admin
To learn about Double Submit Cookies Pattern visit,
http://hirunimirando.blogspot.com/2018/10/double-submit-cookies-pattern-nodejs.html