Skip to content

yacobmole/better-auth-with-hono-handler-nextjs

Repository files navigation

Better-Auth Example Project

This is a minimal example repository demonstrating Better-Auth without the handler integration with:

This repository is intended as a testing ground for Better-Auth without custom handlers.

Setup

  1. Install dependencies:
bun install
  1. Run the Better-Auth migrations:
npx @better-auth/cli migrate
  1. Start the development server:
bun dev
  1. Visit http://localhost:3000 to test the basic auth flow.

What's Included

  • Basic authentication flow (sign up, sign in, sign out)
  • Default Better-Auth configuration
  • Minimal UI components for testing
  • Example migration setup

Project Structure

  • /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

Learn More

Note

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published