-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy path.env.example
More file actions
53 lines (43 loc) · 2.54 KB
/
Copy path.env.example
File metadata and controls
53 lines (43 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# ============================================================
# RemindKaro — Environment Variables
# ============================================================
# Copy this file to .env.local and fill in your own values.
# NEVER commit .env.local or any file with real credentials.
#
# cp .env.example .env.local
# ============================================================
# ── Application ─────────────────────────────────────────────
NODE_ENV=development
# ── Database ────────────────────────────────────────────────
# For local dev, a SQLite file path is fine.
# In production use a PostgreSQL connection string.
DATABASE_URL="file:./dev.db"
# DATABASE_URL="postgresql://user:password@localhost:5432/remindkaro"
# ── Authentication ───────────────────────────────────────────
# Generate a strong secret: `openssl rand -base64 32`
JWT_SECRET="your-super-secret-jwt-key-replace-this"
# ── Backend API (Next.js → Express proxy) ───────────────────
# URL of the RemindKaro backend server (Express/Node)
NEXT_PUBLIC_API_URL="http://localhost:5000"
# ── Razorpay Payments ────────────────────────────────────────
# Get your keys from https://dashboard.razorpay.com/
RAZORPAY_KEY_ID="rzp_test_XXXXXXXXXXXX"
RAZORPAY_KEY_SECRET="your_razorpay_secret"
NEXT_PUBLIC_RAZORPAY_KEY_ID="rzp_test_XXXXXXXXXXXX"
# Plan IDs configured in your Razorpay dashboard
RAZORPAY_PLAN_PRO_MONTHLY="plan_XXXXXXXXXXXX"
RAZORPAY_PLAN_PRO_YEARLY="plan_XXXXXXXXXXXX"
RAZORPAY_PLAN_LIFETIME="plan_XXXXXXXXXXXX"
# ── Email Notifications (optional) ──────────────────────────
# SMTP credentials for sending deadline reminder emails
SMTP_HOST="smtp.gmail.com"
SMTP_PORT=587
SMTP_USER="your-email@gmail.com"
SMTP_PASS="your-app-password"
# ── WhatsApp / Telegram Nudges (optional, Pro feature) ──────
TWILIO_ACCOUNT_SID="ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
TWILIO_AUTH_TOKEN="your_twilio_auth_token"
TWILIO_WHATSAPP_FROM="whatsapp:+14155238886"
TELEGRAM_BOT_TOKEN="your_telegram_bot_token"
# ── AI / OpenAI (optional, for AI urgency scoring) ──────────
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"