-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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.
-
Frontend:
- Develop a signup form with fields for email, username, and password.
- Integrate form validation using React and Zod.
-
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.
-
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