forked from ognla-payeasy/payeasy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
106 lines (80 loc) · 4.28 KB
/
Copy path.env.example
File metadata and controls
106 lines (80 loc) · 4.28 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# =============================================================================
# PayEasy — Environment Variables
# =============================================================================
# Copy this file to .env.local and fill in the values.
# Variables marked REQUIRED must be set for the app to start.
# Variables marked OPTIONAL have sensible defaults and can be omitted.
# =============================================================================
# -----------------------------------------------------------------------------
# Auth
# -----------------------------------------------------------------------------
# REQUIRED — Secret used to sign JWT tokens. Use a long random string.
# Generate one with: openssl rand -base64 32
JWT_SECRET=your_jwt_secret_here
# OPTIONAL — JWT expiry duration (default: "7d")
JWT_EXPIRES_IN=7d
# -----------------------------------------------------------------------------
# Stellar / Blockchain
# -----------------------------------------------------------------------------
# REQUIRED — Network to connect to. Use "testnet" for local dev, "mainnet" for production.
NEXT_PUBLIC_STELLAR_NETWORK=testnet
# REQUIRED — Horizon REST API base URL.
# Testnet: https://horizon-testnet.stellar.org
# Mainnet: https://horizon.stellar.org
NEXT_PUBLIC_HORIZON_URL=https://horizon-testnet.stellar.org
# REQUIRED — Soroban RPC endpoint for smart contract interactions.
# Testnet: https://soroban-testnet.stellar.org
# Mainnet: https://soroban.stellar.org
NEXT_PUBLIC_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
# Sentry Error Tracking
# Get your DSN from https://sentry.io → Project → Settings → Client Keys (DSN)
# Leave empty to disable Sentry (it only activates in NODE_ENV=production).
SENTRY_DSN=
# Vercel Preview Deployments
# Connect this GitHub repository to a Vercel project and enable GitHub comments
# in the Vercel dashboard so every pull request receives a unique preview URL.
VERCEL_ORG_ID=
VERCEL_PROJECT_ID=
VERCEL_TOKEN=
# OPTIONAL — Deployed escrow contract address on the Stellar network.
NEXT_PUBLIC_ESCROW_CONTRACT_ID=
# OPTIONAL — Stellar account address used for fee bumping (server keypair).
STELLAR_FEE_BUMP_SOURCE=
# OPTIONAL — Secret key for the fee-bump source account. Keep this private!
STELLAR_FEE_BUMP_SECRET=
# -----------------------------------------------------------------------------
# Database (MongoDB)
# -----------------------------------------------------------------------------
# REQUIRED — MongoDB Atlas connection string.
# Format: mongodb+srv://<user>:<password>@<cluster>.mongodb.net/<dbname>?retryWrites=true&w=majority
MONGODB_URI=mongodb+srv://user:password@cluster.mongodb.net/payeasy?retryWrites=true&w=majority
# OPTIONAL — Database name override (default derived from MONGODB_URI)
MONGODB_DB_NAME=payeasy
# -----------------------------------------------------------------------------
# Redis (optional — used for rate limiting and session caching)
# -----------------------------------------------------------------------------
# OPTIONAL — Redis connection URL. Omit to disable caching features.
# Format: redis://<user>:<password>@<host>:<port>
REDIS_URL=
# OPTIONAL — Redis key TTL in seconds (default: 3600)
REDIS_TTL=3600
# -----------------------------------------------------------------------------
# Feature Flags
# -----------------------------------------------------------------------------
# OPTIONAL — Enable or disable the roommate matching feature (true | false)
NEXT_PUBLIC_FEATURE_ROOMMATE_MATCHING=false
# OPTIONAL — Enable or disable the in-app messaging feature (true | false)
NEXT_PUBLIC_FEATURE_MESSAGING=false
# OPTIONAL — Enable or disable the payment history export feature (true | false)
NEXT_PUBLIC_FEATURE_HISTORY_EXPORT=true
# -----------------------------------------------------------------------------
# Monitoring / Error Tracking (optional)
# -----------------------------------------------------------------------------
# OPTIONAL — Sentry DSN for error reporting. Omit to disable Sentry.
SENTRY_DSN=
# OPTIONAL — Sentry environment tag ("development" | "staging" | "production")
SENTRY_ENVIRONMENT=development
# OPTIONAL — Resend API key for transactional email.
RESEND_API_KEY=
# OPTIONAL — From address used for outgoing emails.
RESEND_FROM_EMAIL=noreply@payeasy.app