Skip to content

Add Profile Page and Email Verification #3

@rehan-adi

Description

@rehan-adi

Description:
Currently, the project includes signin and logout functionality but lacks a signup feature. A signup page is essential for new users to create accounts. To enhance security, I propose implementing email verification during the signup process.

  1. Frontend:

    • Develop a signup form with fields for email, username, and password.
    • Integrate form validation using React and Zod.
  2. Backend:

    • Create a signup route that handles new user registration.
    • Use bcrypt for password hashing and Prisma for database interaction.
    • Implement email verification using Resend, sending a verification email upon signup.
    • Store a verification code in the database with an expiration timestamp.
    • Add validation for user input to prevent invalid data submission.
  3. Security:

    • Integrate JWT for generating secure tokens.
    • Implement checks to ensure the user verifies their email before gaining full access to the application.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions