SportBuddy/.env.example
Jozef Kovalčín 877100633b feat: Google Maps integration and US-012 filter fields
- Added Google Maps LocationPicker with autocomplete
- Added location, locationName, latitude, longitude to Activity model
- Extended Activity model with gender, minAge, maxAge, price fields
- Updated activity creation form with custom styled inputs
- Added map view on activity detail page
- Added 'Open in Maps' button with deep linking
- Custom styled autocomplete dropdown
- Updated USER_STORIES.md with completed tasks
2025-11-06 18:09:06 +01:00

43 lines
1.5 KiB
Plaintext

# Root Environment Variables (used by Docker Compose)
# PostgreSQL Configuration (used by Docker Compose)
POSTGRES_USER=sportbuddy
POSTGRES_PASSWORD=sportbuddy123
POSTGRES_DB=sportbuddy
# Database URL (used by Backend/Prisma)
DATABASE_URL="postgresql://sportbuddy:sportbuddy123@postgres:5432/sportbuddy?schema=public"
# Better Auth Configuration
# Generate a random 32+ character secret for production: openssl rand -base64 32
BETTER_AUTH_SECRET="change-this-to-a-random-secret-in-production-min-32-chars"
# Backend URL (used for Better Auth callbacks)
BETTER_AUTH_URL="http://localhost:3001"
# Frontend Configuration
# Frontend URL (used for password reset emails and external links)
NEXT_PUBLIC_FRONTEND_URL="http://localhost:3000"
# API URL for frontend to communicate with backend
NEXT_PUBLIC_API_URL="http://localhost:3001"
# Google Maps API Key (for location picker)
# Get API key from: https://console.cloud.google.com/google/maps-apis
# Enable: Places API, Maps JavaScript API, Geocoding API
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=""
# Brevo Email Service (for password reset emails)
# Get API key from: https://app.brevo.com/settings/keys/api
# Leave empty for development mode (emails logged to console)
BREVO_API_KEY=""
# OAuth Providers (Optional - configure only if you want to enable OAuth)
# Google OAuth: https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# Apple OAuth: https://developer.apple.com/account/resources/identifiers/list/serviceId
APPLE_CLIENT_ID=""
APPLE_CLIENT_SECRET=""