zexahq/better-auth-starter — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a clean starter web app that already has user accounts and an admin area ready to go. I want people to be able to sign up with email and password, verify their email, log in, stay signed in securely, and manage their own profile.

Also make an admin dashboard where admins can see all users, change their roles, ban or unban users with an optional expiration date, delete accounts, and revoke sessions if needed. Regular users should only see their own dashboard, while admins can access the management screens.

Use a modern responsive design that looks polished on desktop and mobile, with nice forms, validation, and toast messages so people know when something worked or failed. Set it up with Next.js, PostgreSQL, Better Auth, Drizzle, Tailwind, and email sending through Resend like a production ready boilerplate.

Please include the environment setup, database migrations, and basic deployment readiness for Vercel. Look up current docs online if you need to.

Want more depth? Deep Reverse