-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.env
More file actions
58 lines (49 loc) · 1.77 KB
/
example.env
File metadata and controls
58 lines (49 loc) · 1.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
# ==========================
# Server Configuration (Node.js)
# ==========================
PORT=5000
# API Route Configuration
# Change these to update the API route prefix throughout the application
API_ROUTE_PREFIX=page-revamp-api
SERVICE_NAME=page-revamp
# ==========================
# Database Configuration (Node.js)
# ==========================
MONGODB_URI=mongodb+srv://<USERNAME>:<PASSWORD>@<CLUSTER>.mongodb.net/<DB_NAME>
DB_CONNECTION=mongodb+srv
DB_HOST=<CLUSTER>.mongodb.net
DB_DATABASE=<DB_NAME>
DB_USERNAME=<USERNAME>
DB_PORT=<PORT>
DB_PASSWORD=<PASSWORD>
# ==========================
# AI & External Services (Shared)
# ==========================
GEMINI_API_KEY=<YOUR_GEMINI_API_KEY>
GEMINI_API_URL=https://generativelanguage.googleapis.com/v1beta/models
FIGMA_ACCESS_TOKEN=<YOUR_FIGMA_ACCESS_TOKEN>
# ==========================
# File Upload (Node.js)
# ==========================
MAX_FILE_SIZE=10485760
# Upload directory - use absolute path for server deployment
# For local development: leave empty to use default ./uploads
# For server deployment: set to absolute path like /usr/src/app/uploads
UPLOAD_DIR=
# ==========================
# Logging (Node.js)
# ==========================
LOG_LEVEL=info
# ==========================================================
# Frontend (Next.js) Configuration
# ==========================================================
NEXT_PUBLIC_ENVIRONMENT=development
# Frontend Route Configuration
# Change these to update the frontend route prefix
NEXT_PUBLIC_BASE_PATH=/page-revamp
NEXT_PUBLIC_API_ROUTE_PREFIX=page-revamp-api
# API URL - if not set, will be constructed from API_ROUTE_PREFIX
# NEXT_PUBLIC_API_URL=http://localhost:5000/page-revamp-api
# Cookies
NEXT_PUBLIC_COOKIE_NAME=<YOUR_COOKIE_NAME>
NEXT_PUBLIC_COOKIE_PASSWORD=<YOUR_COOKIE_SECRET>