ExamTime icon indicating copy to clipboard operation
ExamTime copied to clipboard

Implement ZOD Validation for Email and Username Formatting During Registration

Open pspriyanshu601 opened this issue 1 year ago • 11 comments

Currently, our registration process lacks validation for the correct formatting of email addresses and usernames. To improve data integrity and user experience, we propose implementing ZOD validation to ensure that users provide correctly formatted data during registration.

  1. Integrate ZOD (Zero-Overhead Data Validation) library into our registration process to validate email addresses and usernames.
  2. Define validation schemas for email addresses and usernames to enforce correct formatting, including length constraints.
  3. When a user attempts to register, validate the provided email address and username against the defined schemas.
  4. If the data provided by the user does not meet the validation criteria, display a toast error message indicating the specific validation errors encountered.
  5. Prompt the user to correct the errors and resubmit the registration form.

pspriyanshu601 avatar May 10 '24 05:05 pspriyanshu601

@hereisSwapnil please assign me this issue , I have experience working with zod validations and have worked on authentication systems from scratch Thankyou ...

pspriyanshu601 avatar May 10 '24 05:05 pspriyanshu601

Please complete the previously assigned issue to get this assigned

hereisSwapnil avatar May 10 '24 05:05 hereisSwapnil

Ok thanks for the quick response !!!

pspriyanshu601 avatar May 10 '24 05:05 pspriyanshu601

@hereisSwapnil Please can you also assign this issue to me , I have experience working with Zod Validations. And please tell me about What all Proofs required. and can I show the authentication Message on Postman or Not .

ujjwalagrawal-1 avatar May 10 '24 11:05 ujjwalagrawal-1

@hereisSwapnil please can you assign this issue to me

dexter-ifti avatar May 10 '24 12:05 dexter-ifti

@hereisSwapnil Please can you assign me this issue, I have already worked on ZOD library for validation.

Karthikraut avatar May 10 '24 15:05 Karthikraut

@hereisSwapnil Can you please assign this issue to me..?

Jamir2412 avatar May 10 '24 16:05 Jamir2412

@hereisSwapnil I am a GSSOC'24 contributor. Can you please assign this issue to me . I will be able to fix it

anwesha2002 avatar May 10 '24 20:05 anwesha2002

Hi admin I am GSSOC 24 contributor. I have experience in full stack development applications. could you please assign this to me, I can fix this.

SPraveenKumar-spk avatar May 11 '24 08:05 SPraveenKumar-spk

@hereisSwapnil Please Can you Assign me also. I have already done this

ujjwalagrawal-1 avatar May 12 '24 08:05 ujjwalagrawal-1

@hereisSwapnil Please Assign this issue to me as @SPraveenKumar-spk is taking much time

ujjwalagrawal-1 avatar May 30 '24 10:05 ujjwalagrawal-1