Open samar12-rad opened 6 days ago
Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project. for more information join our discord https://discord.gg/Jh3bWQ7FRN
go for it @samar12-rad
Describe the feature
Description: We need to implement a user verification system to prevent spam user creation by sending a one-time password (OTP) to the user's email during the registration process. This will ensure that only verified users can access and use the system.
Requirements:
On user registration, generate a unique OTP and send it to the provided email address. Create a new endpoint on the backend to verify the OTP. Ensure the user cannot proceed to login or book events without successful OTP verification. Set an expiration time for the OTP (e.g., 5 minutes). Notify the user in case the OTP expires or if they enter an incorrect OTP. Frontend: Create a verification page/form where users can enter their OTP. Add error handling for scenarios like incorrect OTP, expired OTP, or network issues. Tech Stack:
Backend: Express.js, Nodemailer Frontend: React (for the verification form)
Add ScreenShots
Record