hereisSwapnil / ExamTime

Share/Download notes PDF helps during exams
https://exam-time.vercel.app
MIT License
55 stars 113 forks source link

Implement ZOD Validation for Email and Username Formatting During Registration #23

Open pspriyanshu601 opened 5 months ago

pspriyanshu601 commented 5 months ago

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 commented 5 months ago

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

hereisSwapnil commented 5 months ago

Please complete the previously assigned issue to get this assigned

pspriyanshu601 commented 5 months ago

Ok thanks for the quick response !!!

ujjwalagrawal-1 commented 5 months ago

@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 .

dexter-ifti commented 5 months ago

@hereisSwapnil please can you assign this issue to me

Karthikraut commented 5 months ago

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

Jamir2412 commented 5 months ago

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

anwesha2002 commented 5 months ago

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

SPraveenKumar-spk commented 5 months ago

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.

ujjwalagrawal-1 commented 5 months ago

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

ujjwalagrawal-1 commented 4 months ago

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