# Server
PORT=5000
NODE_ENV=development

# Database (cPanel MySQL — credentials from cPanel > MySQL Databases)
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=
DB_NAME=buytreasure

# Auth
# Generate with: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
JWT_SECRET=77d9f35aada8aee02991ce51b243b525a154c91835532f319e81d471c20e0cca3953c1c277e014471a372328ab2567c6357d4b2b3c731a1e8a0d1722b77e4268
JWT_EXPIRES_IN=7d

# Spark API (MLS/IDX data — https://sparkplatform.com)
SPARK_ACCESS_TOKEN=8qzlnp2p7fqo91g27vpahnkn8

# Email (SMTP)
SMTP_HOST=mail.yourdomain.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your_email@yourdomain.com
SMTP_PASS=your_email_password
SMTP_FROM_NAME=Buy Treasure Coast

# CORS origins
# FRONTEND_URL=https://buytreasurecoastproperty.com
FRONTEND_URL=http://localhost:3000
# ADMIN_URL=https://admin.buytreasurecoastproperty.com
ADMIN_URL=https://buy-treasure-admin.vercel.app
