Sushantg339/Auth-System ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack authentication app where people can sign up with their name, email, and password, then verify their email before they can use the account. After that, they should be able to log in with email and password, get an OTP sent to their email, enter it on a verification screen, and then land on a protected dashboard.
I want the app to feel polished and simple, with separate pages for home, sign up, log in, OTP verification, email link verification, and dashboard. Please make the backend handle secure password hashing, JWT based auth, session tracking, CSRF protection, and a single active session per user. Use MongoDB for users, Redis for session storage, and make the frontend talk to the API cleanly with good form validation and friendly error messages.
If anything is unclear, check the current docs online and keep the implementation solid and runnable locally.
Are you gonna build this?
make sure you review the code using coderabbit