Rajat2024 / NoteBook

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.
https://mern-notebook.onrender.com/
0 stars 1 forks source link

Validation on Password and Email field #88

Closed nwokporochukwuebuka closed 1 year ago

nwokporochukwuebuka commented 1 year ago

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.

VishalJx commented 1 year ago

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.