Here notebook is created using React as a frontend and NodeJS as a backend. Here you can add , delete and update notes in your Mongoose database. You create a password using express validation , authentication using JWT Token and salting. An easy way to sign up and log in a notebook, context for data passing through the component.
After going through the project I found out that there was no way of ensuring that the date that is being stored is correct especially for the email. Yes the middleware, which is the express-validator is doing a good job. But before saving, there needs to be a validation on the email field.
Also for the password, the criteria is weak. There should be at least 8 characters including special characters, uppercase letter, lower case and numeric figures.
Greeting,
I would like to help adding password and email validation feature as per the requirement mentioned by you. Kindly assign me this task under GSSOC'23.
Thank You.
After going through the project I found out that there was no way of ensuring that the date that is being stored is correct especially for the email. Yes the middleware, which is the
express-validator
is doing a good job. But before saving, there needs to be a validation on the email field.Also for the password, the criteria is weak. There should be at least 8 characters including special characters, uppercase letter, lower case and numeric figures.