- Created dedicated nodejs-redirector/ folder for Node.js application - Moved all Node.js files to nodejs-redirector/ directory - Kept CRM PHP code in crm/ folder for clear separation - Updated README_MONEYFLIX.md with new organized structure - Updated sync-from-crm.sh script to work with new structure - Improved project organization for better maintainability This provides clear separation between: - Node.js redirector application (nodejs-redirector/) - CRM PHP code reference (crm/) - Project documentation and scripts (root level)
21 lines
438 B
Plaintext
21 lines
438 B
Plaintext
# MoneyFlix Redirector Configuration
|
|
|
|
# Server Configuration
|
|
NODE_ENV=production
|
|
PORT=3000
|
|
|
|
# CRM API Configuration
|
|
CRM_API_URL=https://redirect.moneyflix.com/api/redirects
|
|
CRM_API_KEY=moneyflix-api-key-2024
|
|
|
|
# MySQL Database Configuration
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_USER=root
|
|
DB_PASSWORD=your_mysql_password
|
|
DB_DATABASE=bitreport_redirects
|
|
|
|
# Performance Configuration
|
|
QUEUE_MAX_SIZE=1000
|
|
QUEUE_FLUSH_INTERVAL=5000
|
|
CACHE_TTL=30000 |