gustavocasaroti/login-screen ? reverse-engineered prompt

Reverse engineered prompt

Build me a full stack authentication app with a Next.js frontend and a Laravel backend.

I want a clean login and signup flow, plus forgot password and password reset. The backend should use JWT for auth, let users log out, and protect private routes so only signed in users can access them. For password recovery, send a 6 character code that expires after 30 minutes, then let the user enter the code and set a new password. Don’t reveal whether an email exists or not, just show a generic success message.

Make the frontend feel modern and simple, with good validation, loading states, and friendly error messages. Use TypeScript and Tailwind on the frontend, and Laravel with MySQL on the backend. If you need current docs or best practices, look them up online. I’d also like the project set up so I can run the backend and frontend locally with clear instructions.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab