Niph19/Laravel-13-Sanctum ? reverse-engineered prompt
Reverse engineered prompt
Build me a fresh Laravel app that uses Sanctum for login and protected access.
I want a simple starter site with user sign up, sign in, sign out, and a basic dashboard that only logged in users can see. Add the usual password reset flow too if it fits cleanly. Make sure the app can also support API access with token based auth, so a user can log in and then call protected endpoints securely.
Please set up the pages, routes, controllers, and any database tables needed so it works out of the box. Keep the design clean and minimal, with a good default layout and clear success and error messages. If you need to check the latest Laravel or Sanctum docs while building, go ahead and do that. Also include a couple of tests so I know the auth flow and protected routes are working.
Are you gonna build this?
make sure you review the code using coderabbit