Initial Commit
This commit is contained in:
54
.env.example
Normal file
54
.env.example
Normal file
@@ -0,0 +1,54 @@
|
||||
# Database Configuration
|
||||
DATABASE_URL=mysql://beach_litter_user:BeachClean2024!@192.168.4.20:3306/beach_litter_mapping
|
||||
DB_HOST=192.168.4.20
|
||||
DB_PORT=3306
|
||||
DB_NAME=beach_litter_mapping
|
||||
DB_USER=beach_litter_user
|
||||
DB_PASSWORD=BeachClean2024!
|
||||
|
||||
# Clerk Authentication (Frontend)
|
||||
VITE_CLERK_PUBLISHABLE_KEY=YOUR_PUBLISHABLE_KEY
|
||||
|
||||
# Clerk Authentication (Backend)
|
||||
CLERK_SECRET_KEY=YOUR_SECRET_KEY
|
||||
CLERK_WEBHOOK_SECRET=YOUR_WEBHOOK_SECRET
|
||||
|
||||
# Server Configuration
|
||||
PORT=3000
|
||||
NODE_ENV=development
|
||||
|
||||
# File Upload
|
||||
MAX_FILE_SIZE=5242880
|
||||
UPLOAD_DIR=./uploads
|
||||
|
||||
# Cloud Storage (AWS S3 or Cloudinary)
|
||||
CLOUD_STORAGE_PROVIDER=s3
|
||||
AWS_ACCESS_KEY_ID=your-aws-access-key
|
||||
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
|
||||
AWS_REGION=eu-west-1
|
||||
AWS_S3_BUCKET=beach-litter-photos
|
||||
|
||||
# Or for Cloudinary
|
||||
# CLOUDINARY_CLOUD_NAME=your-cloud-name
|
||||
# CLOUDINARY_API_KEY=your-api-key
|
||||
# CLOUDINARY_API_SECRET=your-api-secret
|
||||
|
||||
# Redis Cache
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# External APIs
|
||||
OPENWEATHER_API_KEY=your-openweather-api-key
|
||||
WORLD_TIDES_API_KEY=your-world-tides-api-key
|
||||
|
||||
# Email Service (SendGrid)
|
||||
SENDGRID_API_KEY=your-sendgrid-api-key
|
||||
FROM_EMAIL=noreply@beachlitter.ie
|
||||
|
||||
# CORS
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
|
||||
# Rate Limiting
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
Reference in New Issue
Block a user