Initial Mento CRM: portal OTP, reports, SMS, and deploy for crm.montzar.ir.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
|
||||
# Production: see deploy/.env.production.example and deploy/DEPLOY.md
|
||||
Reference in New Issue
Block a user