-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (20 loc) · 860 Bytes
/
.env.example
File metadata and controls
24 lines (20 loc) · 860 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
APP_ENV="development"
APP_NAME="LMS-B"
APP_PORT=":8000"
JWT_SECRET_KEY="Rahasia Tri"
DB_POSTGRES_DSN="postgres://postgres:postgres@localhost:5433/lms-be?sslmode=disable"
#CUSTOME CORS
CORS_ALLOWED_ORIGINS="*"
CORS_ALLOWED_HEADERS="Accept,Authorization,Content-Type"
CORS_ALLOWED_METHODS="GET,POST,PUT,PATCH,DELETE,OPTIONS"
SMTP_HOST="tested@example-gmail.com"
SMTP_PASSWORD="123456"
SMTP_PORT="587"
SMTP_EMAIL="smtp.gmail.com"
# Xendit Payment Gateway Configuration
# Get your API key from: https://dashboard.xendit.co/settings/developers#api-keys
# Use test mode API key for development (starts with xnd_development_)
XENDIT_API_KEY="xnd_development_your_api_key_here"
XENDIT_WEBHOOK_TOKEN="your_webhook_verification_token_here"
XENDIT_SUCCESS_REDIRECT="http://localhost:3000/payment/success"
XENDIT_FAILURE_REDIRECT="http://localhost:3000/payment/failed"