Skip to content

TheOrcDev/better-auth-starter

Repository files navigation

Better Auth Starter

ChatGPT Image Jun 9, 2025, 07_09_10 PM

Overview

The Better Auth Starter is simple starter pack using Next.js, Better Auth, Shadcn, Drizzle, and Neon

Getting Started

Installation

To begin, install the required dependencies using the following command:

pnpm i

Configuration

Create a copy of the provided env.example file and name it .env. Fill in the required OpenAI API Key in the newly created .env file, and Better Auth variables if you're going to use authentication:

cp env.example .env

BETTER_AUTH_SECRET="your-better-auth-secret"
BETTER_AUTH_URL="http://localhost:3000"

DATABASE_URL="your-database-url"

GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"

Make sure to replace placeholder values with your actual API keys, and keep them safe!

Development Server

After installing the dependencies, and adding configuration variables run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

About

Better auth starter with Drizzle, Neon, and Shadcn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published