# URL Shortener Microservice Configuration
# Created by RSK World (https://rskworld.in)
# Founder: Molla Samser | Designer & Tester: Rima Khatun
# Contact: hello@rskworld.in | +91 93305 39277

# Database Configuration
DB_HOST=sql8.freesqldatabase.com
DB_PORT=3306
DB_NAME=sql8819137
DB_USER=sql8819137
DB_PASS=ZF3K6hwFbx

# Application Configuration
APP_ENV=development
APP_DEBUG=true
APP_URL=http://localhost:8080

# URL Shortening Settings
BASE_URL=http://rskworld.in/project/api-projects/url-shortener-microservice/url-shortener-microservice/public
SHORT_CODE_LENGTH=6
CUSTOM_ALIAS_MIN_LENGTH=3
CUSTOM_ALIAS_MAX_LENGTH=20

# Analytics Settings
TRACK_ANALYTICS=true
ANALYTICS_RETENTION_DAYS=365

# Security Settings
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW=3600

# Cache Configuration (Optional)
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=

# Logging
LOG_LEVEL=info
LOG_FILE=logs/app.log

# © 2026 RSK World. All rights reserved.
# Content used for educational purposes only.
