PORT=5000

NODE_ENV=development



# REQUIRED: paste your MongoDB connection string (Atlas or local)

# Example: mongodb+srv://user:pass@cluster.mongodb.net/altas?retryWrites=true&w=majority

MONGODB_URI=mongodb+srv://drghita:drghita101%40%24@cluster0.qgz30io.mongodb.net/mydatabase?retryWrites=true&w=majority&appName=Cluster0



JWT_SECRET=local_dev_jwt_secret_key_at_least_32_chars

JWT_EXPIRE=7d



# Allow frontend origins (CORS) — no trailing slash
FRONTEND_URL=https://atlasdentalcenter.com,https://www.atlasdentalcenter.com,http://localhost:3000,http://localhost:3001,http://localhost:3002

# Public API base used in email/download links (no trailing slash)
API_BASE_URL=https://altasbackend.atlasdentalcenter.com
BACKEND_URL=https://altasbackend.atlasdentalcenter.com
API_PUBLIC_URL=https://altasbackend.atlasdentalcenter.com



# Protected Super Admin (login + RBAC seed)

SUPER_ADMIN_EMAIL=drghita101@gmail.com

SUPER_ADMIN_PASSWORD=Admin123456!

# Set true once, restart API, then set back to false

FORCE_SUPER_ADMIN_PASSWORD=true



# Inbox that receives appointment / contact admin notifications

ADMIN_EMAIL=drghita101@gmail.com



# SMTP sender (OTP + all outgoing mail FROM this address)

SMTP_HOST=smtp.gmail.com

SMTP_PORT=587

SMTP_USER=drghita101@gmail.com

SMTP_PASS=azll olyg gftv qxrm

EMAIL_FROM="Atlas Dental Center" <drghita101@gmail.com>

