-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
128 lines (109 loc) · 3.77 KB
/
.env.example
File metadata and controls
128 lines (109 loc) · 3.77 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
121
122
123
124
125
126
127
128
# Environment Variables Example
# Copy this file to .env and fill in your actual values
# Note: .env files are NOT used by Angular directly - configure src/environments/* instead
# This file serves as documentation for environment-specific configuration
# ============================================
# App Configuration
# ============================================
APP_NAME=Angular + Tailwind Template
APP_VERSION=1.0.0
NODE_ENV=development
# ============================================
# API Configuration
# TODO: Update these URLs for your backend API
# ============================================
API_BASE_URL=http://localhost:3000/api
API_BASE_URL_PRODUCTION=https://api.your-domain.com
API_TIMEOUT=30000
API_RETRY_ATTEMPTS=3
# ============================================
# Authentication
# ============================================
AUTH_TOKEN_KEY=auth_token
AUTH_TOKEN_EXPIRY=3600
# JWT Secret (Backend only - not used in Angular)
# JWT_SECRET=your-secret-key-here
# ============================================
# Feature Flags
# Configure which features are enabled
# ============================================
ENABLE_ANALYTICS=false
ENABLE_ERROR_REPORTING=false
ENABLE_DEBUG_MODE=true
ENABLE_SERVICE_WORKER=false
ENABLE_DARK_MODE=true
ENABLE_I18N=true
# ============================================
# Internationalization
# ============================================
DEFAULT_LANGUAGE=de
AVAILABLE_LANGUAGES=de,en
# ============================================
# Third-Party Services (Optional)
# Remove or comment out if not needed
# ============================================
# Google Analytics
# GOOGLE_ANALYTICS_ID=UA-XXXXXXXXX-X
# Sentry Error Tracking (Privacy-conscious alternative: use local error logging)
# SENTRY_DSN=https://xxxxx@sentry.io/xxxxx
# Payment (if needed)
# STRIPE_PUBLIC_KEY=pk_test_xxxxx
# ============================================
# Storage Configuration
# ============================================
STORAGE_PREFIX=angular_template_
LOCAL_STORAGE_KEY_THEME=theme
LOCAL_STORAGE_KEY_LANGUAGE=language
LOCAL_STORAGE_KEY_AUTH=auth_token
# ============================================
# Security (CSP, CORS)
# ============================================
# Content Security Policy domains
CSP_SCRIPT_SRC='self' 'unsafe-inline' 'unsafe-eval'
CSP_STYLE_SRC='self' 'unsafe-inline' https://fonts.googleapis.com
CSP_FONT_SRC='self' https://fonts.gstatic.com
# CORS Allowed Origins (Backend configuration)
# CORS_ORIGINS=http://localhost:4200,https://your-domain.com
# ============================================
# Build Configuration
# ============================================
BUILD_OUTPUT_PATH=dist
BUILD_SOURCE_MAP=false
# ============================================
# Docker Configuration
# ============================================
DOCKER_PORT=8080
DOCKER_NODE_VERSION=20
# ============================================
# Development Server
# ============================================
DEV_SERVER_PORT=4200
DEV_SERVER_HOST=localhost
DEV_SERVER_OPEN_BROWSER=true
# ============================================
# Testing
# ============================================
TEST_HEADLESS=true
TEST_BROWSERS=ChromeHeadless
# ============================================
# D-Stack Compliance
# TODO: Update with your organization details
# ============================================
ORGANIZATION_NAME=[Your Organization]
ORGANIZATION_EMAIL=info@your-domain.com
ORGANIZATION_PHONE=+49 (0) 123 456789
ORGANIZATION_ADDRESS=[Street and Number]
ORGANIZATION_CITY=[ZIP and City]
PRIVACY_CONTACT_EMAIL=datenschutz@your-domain.com
DPO_NAME=[Data Protection Officer Name]
DPO_EMAIL=dpo@your-domain.com
# Locale
DEFAULT_LOCALE=en
SUPPORTED_LOCALES=en,de
# Performance
ENABLE_SERVICE_WORKER=false
ENABLE_LAZY_LOADING=true
ENABLE_PRELOADING=true
# Development
ENABLE_SOURCE_MAPS=true
ENABLE_MOCK_API=false