-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (34 loc) · 2.14 KB
/
Copy path.env.example
File metadata and controls
43 lines (34 loc) · 2.14 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
# ─────────────────────────────────────────────
# Morniy Backend — Environment Variables
# Copy this file to .env and fill in the values
# NEVER commit .env to git
# ─────────────────────────────────────────────
# Server
PORT=5000
NODE_ENV=development
# MongoDB (get a free cluster at mongodb.com/atlas)
MONGO_URI=mongodb+srv://<user>:<password>@cluster0.xxxxx.mongodb.net/morniy?retryWrites=true&w=majority
# JWT — generate a strong secret: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
JWT_SECRET=replace_with_a_long_random_secret
# CORS — comma-separated list of allowed frontend origins in production
# Leave blank in development (localhost is always allowed)
ALLOWED_ORIGINS=https://app.morniy.com,https://morniy.com
# Frontend URL — used in email links (password reset, invoice links, etc.)
FRONTEND_URL=http://localhost:5173
# ── Email — Brevo ──────────────────────────────
# Sign up at brevo.com → Settings → SMTP & API → API Keys
BREVO_API_KEY=xkeysib-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Must be a verified sender in your Brevo account
BREVO_SENDER_EMAIL=noreply@morniy.com
BREVO_SENDER_NAME=Morniy
# ── AI — Google Gemini ─────────────────────────
# Get from aistudio.google.com → Get API key
GEMINI_API_KEY=AIzaSy-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# ── Payments — Paystack ────────────────────────
# Get from dashboard.paystack.com → Settings → API Keys
PAYSTACK_SECRET_KEY=your_paystack_secret_key_here
# ── Google Sheets OAuth ────────────────────────
# Create credentials at console.cloud.google.com → APIs & Services → Credentials
GOOGLE_CLIENT_ID=xxxxxxxxxxxxxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-xxxxxxxxxxxxxxxxxxxxxxxx
GOOGLE_REDIRECT_URI=http://localhost:5000/api/export/google/callback