-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
24 lines (18 loc) · 1.02 KB
/
env.example
File metadata and controls
24 lines (18 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copy this file to .env.local and fill in your actual values
# Database - Use SQLite for quick setup or PostgreSQL for production
# For SQLite: just uncomment the next line (no setup needed)
# DATABASE_URL="file:./dev.db"
# For PostgreSQL: get this from Neon.tech, Supabase, or your local PostgreSQL
DATABASE_URL="postgresql://username:password@localhost:5432/pinterest_clone"
# NextAuth.js - Required
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-nextauth-secret-here-make-it-long-and-random"
# Google OAuth - Optional (get from Google Cloud Console)
GOOGLE_CLIENT_ID="your-google-client-id.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
# Cloudinary - Required for image uploads (get from cloudinary.com)
CLOUDINARY_CLOUD_NAME="your-cloudinary-cloud-name"
CLOUDINARY_API_KEY="your-cloudinary-api-key"
CLOUDINARY_API_SECRET="your-cloudinary-api-secret"
# Alternative Cloudinary URL format (use either individual vars above OR this)
# CLOUDINARY_URL="cloudinary://api_key:api_secret@cloud_name"