-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.env.example
More file actions
120 lines (92 loc) · 3.55 KB
/
.env.example
File metadata and controls
120 lines (92 loc) · 3.55 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# ===========================================
# EIPs Insight - Environment Variables
# ===========================================
# Copy this file to .env.local and fill in the values
# Never commit .env.local to version control
# ===========================================
# Database Configuration
# ===========================================
# Main MongoDB Connection URI for application data
MONGODB_URI=mongodb://localhost:27017/eipsinsight
# MongoDB URI for open PRs analytics and tracking
OPENPRS_MONGODB_URI=mongodb://localhost:27017/openprs
# Database name for open PRs (optional, defaults to "test")
OPENPRS_DATABASE=openprs
# MongoDB URI for contributor rankings (optional, falls back to OPENPRS_MONGODB_URI)
CONTRI_URI=mongodb://localhost:27017/contributors
# ===========================================
# Authentication - NextAuth.js
# ===========================================
# NextAuth Secret - Generate with: openssl rand -base64 32
NEXTAUTH_SECRET=your-nextauth-secret-here
# NextAuth URL - Your application URL
NEXTAUTH_URL=http://localhost:3000
# GitHub OAuth Provider
GITHUB_ID=your-github-oauth-client-id
GITHUB_SECRET=your-github-oauth-client-secret
# Google OAuth Provider
GOOGLE_CLIENT_ID=your-google-oauth-client-id
GOOGLE_CLIENT_SECRET=your-google-oauth-client-secret
# ===========================================
# GitHub API Integration
# ===========================================
# GitHub Personal Access Token for API calls
# Required for fetching EIPs/ERCs/RIPs data from GitHub
GITHUB_TOKEN=your-github-personal-access-token
# Alternative GitHub token name (used in some API routes)
ACCESS_TOKEN=your-github-personal-access-token
# Public GitHub access token (exposed to client-side)
NEXT_PUBLIC_ACCESS_TOKEN=your-public-github-token
# ===========================================
# Email Configuration
# ===========================================
# SMTP Server Configuration
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_USERNAME=your-email@example.com
EMAIL_PASSWORD=your-email-password
EMAIL_FROM=noreply@eipsinsight.com
# ===========================================
# Payment Integration - Stripe
# ===========================================
# Stripe Secret Key (server-side)
STRIPE_SECRET_KEY=sk_test_your-stripe-secret-key
# Stripe Webhook Secret for event verification
STRIPE_WEBHOOK_SECRET=whsec_your-webhook-secret
# ===========================================
# External APIs
# ===========================================
# Cohere AI API Key for AI summary generation
COHERE_API_KEY=your-cohere-api-key
# Sepolia (Ethereum Testnet) API Key
NEXT_PUBLIC_SEPOLIA_API=your-sepolia-api-key
# ===========================================
# Notifications
# ===========================================
# Discord Webhook URL for notifications and feedback
DISCORD_WEB=https://discord.com/api/webhooks/your-webhook-url
# ===========================================
# GitHub Repository for CI/CD workflows
GITHUB_REPOSITORY=ethereum/EIPs
# ===========================================
# Notes
# ===========================================
#
# Required Variables for Core Functionality:
# - MONGODB_URI
# - NEXTAUTH_SECRET
# - NEXTAUTH_URL
# - GITHUB_TOKEN or ACCESS_TOKEN
#
# Optional but Recommended:
# - OPENPRS_MONGODB_URI (for PR analytics)
# - Email settings (for notifications)
# - OAuth providers (for social login)
#
# For Production:
# - Use strong, unique values for all secrets
# - Set NEXTAUTH_URL to your production domain
# - Enable OAuth providers for better UX
# - Configure email for transactional messages
# - Set up Stripe for payment features
#