-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
51 lines (43 loc) · 2.13 KB
/
.env.example
File metadata and controls
51 lines (43 loc) · 2.13 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
# =============================================================================
# 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