-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1021 Bytes
/
.env.example
File metadata and controls
38 lines (30 loc) · 1021 Bytes
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
# ============================================================
# ApnaWorker — Environment Variables
# Copy to .env and fill with your actual values
# ============================================================
# Node Environment
NODE_ENV=production
PORT=5000
# MongoDB
MONGODB_URI=mongodb://admin:password123@mongo:27017/apnaworker?authSource=admin
MONGO_USER=admin
MONGO_PASSWORD=password123
# Frontend/Backend URLs
CLIENT_URL=http://localhost:5000
API_URL=http://localhost:5000/api
# JWT Authentication
JWT_SECRET=your-very-secret-jwt-key-change-this-in-production
# Cloudinary (Image Storage)
CLOUDINARY_CLOUD_NAME=your-cloud-name
CLOUDINARY_API_KEY=your-api-key
CLOUDINARY_API_SECRET=your-api-secret
# Razorpay (Payment Gateway)
RAZORPAY_KEY_ID=your-razorpay-key-id
RAZORPAY_KEY_SECRET=your-razorpay-key-secret
# Email Configuration (if needed)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
# Optional: Admin Email
ADMIN_EMAIL=admin@apnaworker.com