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 install
to install the node modules - Type
npm start
ornode index.js
to 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