This is a minimal example repository demonstrating Better-Auth without the handler integration with:
- Next.js 15
- Better-Auth for authentication
- Tailwind CSS v4 for styling
This repository is intended as a testing ground for Better-Auth without custom handlers.
- Install dependencies:
bun install- Run the Better-Auth migrations:
npx @better-auth/cli migrate- Start the development server:
bun dev- Visit http://localhost:3000 to test the basic auth flow.
- Basic authentication flow (sign up, sign in, sign out)
- Default Better-Auth configuration
- Minimal UI components for testing
- Example migration setup
/src/components- Basic auth components (signup-form, signin-form, signout-button)/src/app- Minimal Next.js app setup/better-auth_migrations- Default Better-Auth migrations
This is a test repository and should not be used as a template for production applications. For production use, please refer to the official Better-Auth documentation for proper setup and security considerations.