-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
43 lines (35 loc) · 1.25 KB
/
.env.example
File metadata and controls
43 lines (35 loc) · 1.25 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# MongoDB Configuration (Primary Database)
# IMPORTANT: Never commit real credentials to Git!
# Use MongoDB Atlas connection string format:
# mongodb+srv://username:password@cluster.mongodb.net/database?retryWrites=true&w=majority
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/database?retryWrites=true&w=majority
MONGODB_DATABASE=pebly-database
# Redis Configuration (Optional - for caching)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
CACHE_TYPE=simple
# Application URLs
FRONTEND_URL=http://localhost:3000
APP_BASE_URL=http://localhost:8080
PORT=8080
# JWT Configuration
JWT_SECRET=your-very-long-and-secure-jwt-secret-key-here
JWT_EXPIRATION=86400000
# Google OAuth Configuration
GOOGLE_CLIENT_ID=your-google-client-id-here
GOOGLE_CLIENT_SECRET=your-google-client-secret-here
GOOGLE_REDIRECT_URI=http://localhost:3000/auth/callback
# Razorpay Payment Configuration
RAZORPAY_KEY_ID=your-razorpay-key-id
RAZORPAY_KEY_SECRET=your-razorpay-key-secret
RAZORPAY_WEBHOOK_SECRET=your-webhook-secret
# File Upload Configuration
MAX_FILE_SIZE=10MB
MAX_REQUEST_SIZE=10MB
FILE_STORAGE_PATH=./uploads
ALLOWED_FILE_TYPES=pdf,jpg,jpeg,png,gif,doc,docx,txt,zip
# Logging Configuration
LOG_FILE=./logs/application.log
# Spring Profile
SPRING_PROFILES_ACTIVE=dev