Add full application structure with auth, dashboard, and Docker
- Add Dockerfile for production deployment - Add authentication pages (login, signup) - Add dashboard layout and navigation - Add project pages with chat component - Add shadcn/ui components - Add Supabase client configuration - Add middleware for auth protection - Update next.config.ts for standalone output 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
9
src/lib/supabase/client.ts
Normal file
9
src/lib/supabase/client.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { createBrowserClient } from '@supabase/ssr'
|
||||
import type { Database } from '@/types/database'
|
||||
|
||||
export function createClient() {
|
||||
return createBrowserClient<Database>(
|
||||
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user