1+ # =============================================================================
2+ # Dev Weekends Web Platform - Environment Variables
3+ # =============================================================================
4+ # Copy this file to `.env.local` and fill in your values.
5+ # Never commit your `.env.local` file to version control!
6+ # =============================================================================
7+
8+ # -----------------------------------------------------------------------------
9+ # Database Configuration
10+ # -----------------------------------------------------------------------------
11+ # MongoDB connection string (required)
12+ # For local development: mongodb://localhost:27017/devweekends
13+ # For MongoDB Atlas: mongodb+srv://<username>:<password>@<cluster>.mongodb.net/<database>
14+ MONGODB_URI =
15+
16+ # -----------------------------------------------------------------------------
17+ # Authentication & Security
18+ # -----------------------------------------------------------------------------
19+ # JWT secret for token signing (required)
20+ # Generate a secure random string: openssl rand -base64 32
21+ JWT_SECRET =
22+
23+ # Access codes for different user roles (required)
24+ # These are used for initial authentication before login
25+ # Use strong, unique values in production
26+ ADMIN_ACCESS_CODE =
27+ MENTOR_ACCESS_CODE =
28+ AMBASSADOR_ACCESS_CODE =
29+
30+ # -----------------------------------------------------------------------------
31+ # Third-Party Services
32+ # -----------------------------------------------------------------------------
33+
34+ # Google Analytics (optional)
35+ # Get your measurement ID from Google Analytics
136NEXT_PUBLIC_GA_ID =
2- CLOUDINARY_CLOUD_NAME =
3- CLOUDINARY_API_KEY =
4- CLOUDINARY_API_SECRET =
5- JWT_SECRET =
6- NODE_ENV = production
7- ADMIN_ACCESS_CODE = devweekends
8- MENTOR_ACCESS_CODE = devweekends
9- AMBASSADOR_ACCESS_CODE = devweekends
10- MONGODB_URI =
37+
38+ # Cloudinary for image uploads (optional, required for media features)
39+ # Get these from your Cloudinary dashboard: https://cloudinary.com/console
40+ CLOUDINARY_CLOUD_NAME =
41+ CLOUDINARY_API_KEY =
42+ CLOUDINARY_API_SECRET =
43+
44+ # -----------------------------------------------------------------------------
45+ # Application Settings
46+ # -----------------------------------------------------------------------------
47+ # Node environment: development, production, or test
48+ NODE_ENV = development
49+
50+ # Base URL for the application (used for redirects and links)
51+ # NEXT_PUBLIC_BASE_URL=http://localhost:3000
0 commit comments