Search for a command to run...
Production-ready email/password auth. Login, signup, session management, and route protection — server and client — powered by Better Auth and Zod.
Add these to your .env before installing. The CLI runs Prisma generate and migrate using these values during install — add them first, or the install will fail partway through.
DATABASE_URLrequiredPostgreSQL connection string.
e.g. postgresql://user:pass@localhost:5432/mydbBETTER_AUTH_SECRETrequiredRandom secret for signing sessions. Generate one here →
BETTER_AUTH_URLrequiredYour app's public URL.
e.g. http://localhost:3000npx feature101@latest add auth/login and /signup pages are ready to use out of the box/dashboard is protected via proxy & requireSession() — visit it logged out to see the redirect