-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (51 loc) · 1.69 KB
/
.env.example
File metadata and controls
52 lines (51 loc) · 1.69 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
# Gemini API Key Configuration
#
# This app uses Google's Gemini API for AI-powered features:
# - Smart filter recommendations based on time of day
# - AI skin analysis and personalized filter suggestions based on your appearance
#
# ========================================
# How to Get Your FREE API Key
# ========================================
#
# 1. Visit: https://aistudio.google.com/app/api-keys
# 2. Sign in with your Google account
# 3. Click "Create API Key"
# 4. Copy the generated key
#
# ========================================
# Setup Instructions
# ========================================
#
# 1. Copy this file and rename it to .env (remove .example)
# Command: cp .env.example .env
#
# 2. Replace 'your_gemini_api_key_here' below with your actual API key
#
# 3. Restart your development server
# Command: npm start
#
# ========================================
# Security Best Practices
# ========================================
#
# ✓ The .env file is in .gitignore (won't be committed to Git)
# ✓ Never share your API key publicly
# ✓ Never commit .env to version control
# ✓ Regenerate your key if accidentally exposed
#
# ========================================
# Educational Notes
# ========================================
#
# In Create React App, all custom environment variables MUST be prefixed with REACT_APP_
# to be accessible in the browser. We use REACT_APP_GEMINI_API_KEY as required by CRA.
#
# Access in code:
# const apiKey = process.env.REACT_APP_GEMINI_API_KEY;
#
# Learn more about environment variables:
# https://create-react-app.dev/docs/adding-custom-environment-variables/
#
# ========================================
REACT_APP_GEMINI_API_KEY=your_gemini_api_key_here