This commit is contained in:
nasir@endelospay.com
2025-07-11 20:22:12 +05:00
commit 8c74b0e23f
120 changed files with 206874 additions and 0 deletions

101
.env Normal file
View File

@@ -0,0 +1,101 @@
# Laravel Healthcare API Configuration
LARAVEL_API_BASE_URL=https://app.qubecare.ai
LARAVEL_API_TIMEOUT=30000
LARAVEL_API_RETRY_ATTEMPTS=3
LARAVEL_API_RETRY_DELAY=1000
# MCP Server Configuration
MCP_SERVER_NAME=laravel-healthcare-mcp-server
MCP_SERVER_VERSION=1.0.0
MCP_SERVER_PORT=3000
MCP_SERVER_HOST=localhost
# Authentication Configuration - Admin
ADMIN_USERNAME=admin@healthcare.com
ADMIN_PASSWORD=your_admin_password
ADMIN_LOGIN_ENDPOINT=/api/admin/login
ADMIN_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Agent
AGENT_USERNAME=agent@healthcare.com
AGENT_PASSWORD=your_agent_password
AGENT_LOGIN_ENDPOINT=/agent/login-agent
AGENT_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Patient
PATIENT_USERNAME=patient@healthcare.com
PATIENT_PASSWORD=your_patient_password
PATIENT_LOGIN_ENDPOINT=/api/frontend/login
PATIENT_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Practitioner
PRACTITIONER_USERNAME=practitioner@healthcare.com
PRACTITIONER_PASSWORD=your_practitioner_password
PRACTITIONER_LOGIN_ENDPOINT=/api/practitioner/login
PRACTITIONER_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Affiliate
AFFILIATE_USERNAME=affiliate@healthcare.com
AFFILIATE_PASSWORD=your_affiliate_password
AFFILIATE_LOGIN_ENDPOINT=/api/affiliate/login
AFFILIATE_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Partner
PARTNER_USERNAME=partner@healthcare.com
PARTNER_PASSWORD=your_partner_password
PARTNER_LOGIN_ENDPOINT=/api/partner/login
PARTNER_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Network
NETWORK_USERNAME=network@healthcare.com
NETWORK_PASSWORD=your_network_password
NETWORK_LOGIN_ENDPOINT=/api/network/login
NETWORK_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Doctor
DOCTOR_USERNAME=doctor@healthcare.com
DOCTOR_PASSWORD=your_doctor_password
DOCTOR_LOGIN_ENDPOINT=/api/doctor/login
DOCTOR_TOKEN_REFRESH_THRESHOLD=300
# Authentication Configuration - Provider
#PROVIDER_USERNAME=provider@healthcare.com
#PROVIDER_PASSWORD=your_provider_password
#PROVIDER_LOGIN_ENDPOINT=/api/provider/login
PROVIDER_TOKEN_REFRESH_THRESHOLD=300
# Token Management
TOKEN_CACHE_DURATION=3600
TOKEN_REFRESH_BUFFER=300
MAX_CONCURRENT_REQUESTS=10
# Logging Configuration
LOG_LEVEL=info
LOG_FILE_PATH=./logs/mcp-server.log
LOG_MAX_SIZE=10m
LOG_MAX_FILES=5
LOG_DATE_PATTERN=YYYY-MM-DD
ENABLE_REQUEST_LOGGING=true
MASK_SENSITIVE_DATA=true
# Error Handling
ENABLE_DETAILED_ERRORS=false
HIPAA_COMPLIANCE_MODE=true
ERROR_REPORTING_LEVEL=production
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_WINDOW=60000
RATE_LIMIT_MAX_REQUESTS=100
# Health Check
HEALTH_CHECK_ENABLED=true
HEALTH_CHECK_INTERVAL=30000
HEALTH_CHECK_ENDPOINT=/health
# Development Settings
NODE_ENV=production
DEBUG_MODE=false
ENABLE_CORS=true
CORS_ORIGINS=*