-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
93 lines (70 loc) · 2.41 KB
/
.env.example
File metadata and controls
93 lines (70 loc) · 2.41 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
# Application Settings
APP_NAME=Product Trend Automation
APP_VERSION=1.0.0
DEBUG=False
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/product_trends
# Redis
REDIS_URL=redis://localhost:6379/0
# ==================== PLATFORM API CREDENTIALS ====================
# You must obtain these from each platform's developer portal
# Amazon SP-API (Amazon Seller Central)
# Get credentials: https://developer-docs.amazon.com/sp-api/
AMAZON_SP_API_KEY=
AMAZON_SP_API_SECRET=
AMAZON_SP_REFRESH_TOKEN=
# eBay API
# Get credentials: https://developer.ebay.com/
EBAY_APP_ID=
EBAY_CERT_ID=
EBAY_DEV_ID=
# TikTok Shop API
# Get credentials: https://partner.tiktokshop.com/
TIKTOK_SHOP_API_KEY=
TIKTOK_SHOP_SECRET=
# Facebook/Instagram (Meta Graph API)
# Get credentials: https://developers.facebook.com/
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
FACEBOOK_ACCESS_TOKEN=
# ==================== AI SERVICE API KEYS ====================
# Groq API (FREE & FAST - RECOMMENDED)
# Get key: https://console.groq.com/keys
# Provides access to Qwen and Llama models with fast inference
GROQ_API_KEY=
# Hugging Face API (FREE - RECOMMENDED)
# Get key: https://huggingface.co/settings/tokens
# Provides access to open-source models like Mistral, Mixtral, Llama
HUGGINGFACE_API_KEY=
# OpenAI API (for GPT-4 analysis)
# Get key: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Anthropic API (for Claude analysis)
# Get key: https://console.anthropic.com/
ANTHROPIC_API_KEY=
# ==================== TREND DISCOVERY SOURCES ====================
# Google Trends
GOOGLE_TRENDS_ENABLED=True
# Reddit API
# Get credentials: https://www.reddit.com/prefs/apps
REDDIT_CLIENT_ID=
REDDIT_CLIENT_SECRET=
# Twitter/X API
# Get credentials: https://developer.twitter.com/
TWITTER_BEARER_TOKEN=
# ==================== SECURITY ====================
# Secret key for JWT tokens (generate a random string)
SECRET_KEY=CHANGE-THIS-TO-A-SECURE-RANDOM-STRING
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# ==================== AUTOMATION SETTINGS ====================
# How often to scan for trends (in minutes)
TREND_SCAN_INTERVAL_MINUTES=60
# Maximum products to process per scan
MAX_PRODUCTS_PER_SCAN=50
# IMPORTANT: Compliance settings
# Keep REQUIRE_MANUAL_APPROVAL=True to comply with platform ToS
REQUIRE_MANUAL_APPROVAL=True
# NEVER set AUTO_POST_ENABLED=True without explicit user review
# This violates most platform terms of service
AUTO_POST_ENABLED=False