Import large Excel lists with duplicate checks, assign and kanban follow-up, convert to Person when ready; also fix OTP mobile mask order and SMS brand name to منتکت. Co-authored-by: Cursor <cursoragent@cursor.com>
36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Environment template — copy to apps/api/.env for local dev
|
|
DATABASE_URL="postgresql://mento:mento@localhost:5432/mento_crm?schema=public"
|
|
JWT_SECRET="change-me-in-production-use-long-random-string"
|
|
JWT_EXPIRES_IN="7d"
|
|
PORT=3000
|
|
CORS_ORIGIN="http://localhost:5173"
|
|
UPLOAD_DIR="./uploads"
|
|
|
|
# Portal OTP: در لوکال معمولاً true تا کد در پاسخ بیاید
|
|
PORTAL_SHOW_OTP=true
|
|
# AUTH_RETURN_OTP=true
|
|
|
|
# SMS — پنل ترِز / رایگان (مثل montime). اختیاری در لوکال اگر PORTAL_SHOW_OTP=true
|
|
SMS_PROVIDER=trez
|
|
SMS_USERNAME=
|
|
SMS_PASSWORD=
|
|
SMS_SENDER=
|
|
# SMS_BASE_URL=http://smspanel.Trez.ir
|
|
# SMS_SEND_PATH=/SendMessageWithCode.ashx
|
|
# SMS_OTP_TEMPLATE=کد ورود منتکت: {code}
|
|
# SMS_TIMEOUT_MS=20000
|
|
|
|
# رمزنگاری توکنهای اتصال حسابداری (تهحساب) — ۳۲ بایت بهصورت hex (۶۴ کاراکتر)
|
|
# مثال ساخت: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
|
|
INTEGRATIONS_ENCRYPTION_KEY=
|
|
|
|
# سوپرادمین پلتفرم — ورود از /adm با موبایل + رمز
|
|
# در لوکال اگر خالی بماند: 09120000000 / demo1234
|
|
PLATFORM_ADMIN_MOBILE=
|
|
PLATFORM_ADMIN_PASSWORD=
|
|
PLATFORM_ADMIN_NAME=سوپرادمین
|
|
# اختیاری
|
|
# PLATFORM_ADMIN_EMAIL=
|
|
|
|
# Production: see deploy/.env.production.example and deploy/DEPLOY.md
|