"use client"; import Link from "next/link"; import { Button } from "@/components/ui/button"; import { SetupChecklist } from "@/components/setup-checklist"; import { useDiagnostics } from "@/hooks/use-diagnostics"; export default function Home() { const { isAuthReady, isAiReady, loading } = useDiagnostics(); return (

Welcome to Your Next.js Boilerplate

A complete starter kit with authentication, database, AI integration, and modern tooling

🔐 Authentication

Better Auth with Google OAuth integration

🗄️ Database

Drizzle ORM with PostgreSQL setup

🤖 AI Ready

Vercel AI SDK with OpenAI integration

🎨 UI Components

shadcn/ui with Tailwind CSS

Next Steps

1. Set up environment variables

Copy .env.example to .env.local and configure:

  • DATABASE_URL (PostgreSQL connection string)
  • GOOGLE_CLIENT_ID (OAuth credentials)
  • GOOGLE_CLIENT_SECRET (OAuth credentials)
  • OPENAI_API_KEY (for AI functionality)

2. Set up your database

Run database migrations:

npx drizzle-kit push

3. Try the features

{(loading || !isAuthReady) ? ( ) : ( )} {(loading || !isAiReady) ? ( ) : ( )}

4. Start building

Customize the components, add your own pages, and build your application on top of this solid foundation.

); }