/login
, /signup
, /forgot-password
, /reset-password
).features/auth/signup-form.tsx
react-hook-form
and zod for validation.authClient.signUp.email
to register a new user./signup
page.features/auth/login-form.tsx
react-hook-form
and zod for validation.authClient.signIn.email
for email/password login./login
page.features/auth/forgot-password-form.tsx
react-hook-form
and zod for validation.authClient.forgetPassword
to send a reset email./forgot-password
page.features/auth/reset-password-form.tsx
react-hook-form
and zod for validation (password and confirm password).authClient.resetPassword
with the new password and token from the URL./reset-password
page./app
.@app/packages/validators
.