Took help from:
- https://stackoverflow.com/questions/547821/two-submit-buttons-in-one-form
- https://www.geeksforgeeks.org/html-button-formaction-attribute/
- https://stackoverflow.com/questions/44816519/how-to-get-cookie-value-in-expressjs
- https://stackoverflow.com/questions/16209145/how-to-set-cookie-in-node-js-using-express-framework
- https://www.javatpoint.com/javascript-cookies
- https://stackoverflow.com/questions/7267102/how-do-i-update-upsert-a-document-in-mongoose
- https://www.geeksforgeeks.org/mongoose-findoneandupdate-function/
- https://www.section.io/engineering-education/what-are-cookies-nodejs/
- https://www.geeksforgeeks.org/how-to-list-all-the-cookies-of-the-current-page-using-javascript/
- https://stackoverflow.com/questions/3521290/logout-get-or-post
- https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie
- https://stackoverflow.com/questions/15568851/node-js-how-to-send-data-from-html-to-express
- https://stackoverflow.com/questions/9987359/how-to-save-an-array-of-objects-to-mongoose-db-with-only-one-call
- https://stackoverflow.com/questions/36887928/insert-array-of-objects-into-mongodb/36910641
- https://stackoverflow.com/questions/9177049/express-js-req-body-undefined
git clone https://github.com/Abhiramborige/Login-Register-Bucket.git
cd Login-Register-Bucket
npm init // to install dependencies(express, mongoose, nodemon)
npm start // to start the express-mongo server
Open "index.html" using live server from VS Code.