Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 4 additions & 43 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,44 +1,5 @@
# Supabase environment variables
NEXT_PUBLIC_SUPABASE_URL=https://example.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=public-anon-key-placeholder
# Add other env variables here if any

# APP CONFIGURATION
NEXT_PUBLIC_APP_NAME=DocMagic
NEXT_PUBLIC_APP_URL=http://localhost:3000

# SECURITY CONFIGURATION
# Generate a strong random secret for session encryption
NEXTAUTH_SECRET=your-nextauth-secret-here-use-openssl-rand-base64-32

# Stripe Configuration (required for real payments)
# Get these from your Stripe Dashboard
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key_here
STRIPE_SECRET_KEY=sk_test_your_secret_key_here
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here
STRIPE_PRICE_ID=price_your_price_id_here

# Set to 'true' to enable Stripe integration
NEXT_PUBLIC_ENABLE_STRIPE=false

# SUPABASE CONFIGURATION
# Get these from your Supabase project settings
NEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key-here
SUPABASE_SERVICE_ROLE_KEY=your-supabase-service-role-key-here

# GEMINI AI CONFIGURATION
# Get this from Google AI Studio
GEMINI_API_KEY=your-gemini-api-key-here

# PEXELS API (Optional - for stock images)
PEXELS_API_KEY=your-pexels-api-key-here

# EMAIL CONFIGURATION (Optional)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASS=your-app-password

# DEPLOYMENT CONFIGURATION
NEXT_PUBLIC_VERCEL_URL=https://your-vercel-project-url.vercel.app
NEXT_PUBLIC_NETLIFY_URL=https://your-netlify-project-url.netlify.app

# ENVIRONMENT
NODE_ENV=development
6 changes: 6 additions & 0 deletions components/cursor-provider.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React, { ReactNode } from 'react';

export function CursorProvider({ children }: { children: ReactNode }) {
return <>{children}</>;
}

Loading