Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
73 lines (60 loc) · 3.04 KB
/
Copy path.env.example
File metadata and controls
73 lines (60 loc) · 3.04 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
# =============================================================================
# Dev Weekends Web Platform - Environment Variables
# =============================================================================
# Copy this file to `.env.local` and fill in your values.
# Never commit your `.env.local` file to version control!
# =============================================================================
# -----------------------------------------------------------------------------
# Database Configuration
# -----------------------------------------------------------------------------
# MongoDB connection string (required)
# For local development: mongodb://localhost:27017/devweekends
# For MongoDB Atlas: mongodb+srv://<username>:<password>@<cluster>.mongodb.net/<database>
MONGODB_URI=
# -----------------------------------------------------------------------------
# Authentication & Security
# -----------------------------------------------------------------------------
# JWT secret for token signing (required)
# Generate a secure random string: openssl rand -base64 32
JWT_SECRET=
# Access codes for different user roles (required)
# These are used for initial authentication before login
# Use strong, unique values in production
ADMIN_ACCESS_CODE=
MENTOR_ACCESS_CODE=
AMBASSADOR_ACCESS_CODE=
# -----------------------------------------------------------------------------
# Third-Party Services
# -----------------------------------------------------------------------------
# Google Analytics (optional)
# Get your measurement ID from Google Analytics
NEXT_PUBLIC_GA_ID=
# Cloudinary for image uploads (optional, required for media features)
# Get these from your Cloudinary dashboard: https://cloudinary.com/console
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
# -----------------------------------------------------------------------------
# Application Settings
# -----------------------------------------------------------------------------
# Node environment: development, production, or test
NODE_ENV=development
# Base URL for the application (used for redirects and links)
# NEXT_PUBLIC_BASE_URL=http://localhost:3000
# -----------------------------------------------------------------------------
# Community Feed (/feed)
# -----------------------------------------------------------------------------
# Olostep API key for discovering public #DevWeekends LinkedIn posts (optional;
# without it /feed still shows existing posts and accepts submissions)
OLOSTEP_API_KEY=
# Secret the Worker's daily cron sends to /api/cron/linkedin-feed (worker.ts). Generate: openssl rand -base64 32
CRON_SECRET=
# Olostep searches per run, each costs credits (default 5)
# FEED_COLLECT_QUERIES=5
# -----------------------------------------------------------------------------
# Hosting (Cloudflare Workers)
# -----------------------------------------------------------------------------
# Database for the fellowship impact stories and survey
# IMPACT_MONGODB_URI
# Cloudflare account to deploy to with `npm run deploy` (local deploys only)
# CLOUDFLARE_ACCOUNT_ID