/Login-Register-Bucket

FuncBox Recruitment Drive.

Primary LanguageJavaScript

Took help from:

  1. https://stackoverflow.com/questions/547821/two-submit-buttons-in-one-form
  2. https://www.geeksforgeeks.org/html-button-formaction-attribute/
  3. https://stackoverflow.com/questions/44816519/how-to-get-cookie-value-in-expressjs
  4. https://stackoverflow.com/questions/16209145/how-to-set-cookie-in-node-js-using-express-framework
  5. https://www.javatpoint.com/javascript-cookies
  6. https://stackoverflow.com/questions/7267102/how-do-i-update-upsert-a-document-in-mongoose
  7. https://www.geeksforgeeks.org/mongoose-findoneandupdate-function/
  8. https://www.section.io/engineering-education/what-are-cookies-nodejs/
  9. https://www.geeksforgeeks.org/how-to-list-all-the-cookies-of-the-current-page-using-javascript/
  10. https://stackoverflow.com/questions/3521290/logout-get-or-post
  11. https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie
  12. https://stackoverflow.com/questions/15568851/node-js-how-to-send-data-from-html-to-express
  13. https://stackoverflow.com/questions/9987359/how-to-save-an-array-of-objects-to-mongoose-db-with-only-one-call
  14. https://stackoverflow.com/questions/36887928/insert-array-of-objects-into-mongodb/36910641
  15. https://stackoverflow.com/questions/9177049/express-js-req-body-undefined

Demonstration:

To run the project:

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.

React CDNs are used instead of package dependencies as this project mainly focusses on backed.