-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (41 loc) · 1.66 KB
/
.env.example
File metadata and controls
51 lines (41 loc) · 1.66 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
# ==============================================
# FRONTEND CONFIGURATION (Vite/Vue)
# ==============================================
# GitHub Personal Access Token (recommended)
# Get one from: https://github.com/settings/tokens
# Only needs 'public_repo' scope for reading public data
VITE_GITHUB_TOKEN=your_github_token_here
# GitLab API Token (optional)
# Get one from: https://gitlab.com/-/profile/personal_access_tokens
# Needs 'read_api' scope
VITE_GITLAB_TOKEN=your_gitlab_token_here
# API Base URL - Points to the backend server
# Development: http://localhost:3001
# Production: https://your-api-domain.com
VITE_API_URL=http://localhost:3001
# ==============================================
# BACKEND CONFIGURATION (Express/Node)
# ==============================================
# Server Port
PORT=3001
# Client URL - The frontend application URL
# This is used for CORS and OAuth callbacks
# Development: http://localhost:5174
# Production: https://your-domain.com
CLIENT_URL=http://localhost:5174
# GitHub OAuth Application
# Create one at: https://github.com/settings/developers
# Authorization callback URL: http://localhost:5174/auth/github/callback
GITHUB_CLIENT_ID=your_github_oauth_client_id
GITHUB_CLIENT_SECRET=your_github_oauth_client_secret
# GitLab OAuth Application
# Create one at: https://gitlab.com/-/profile/applications
# Redirect URI: http://localhost:5174/auth/gitlab/callback
# Scopes: read_user, read_api
GITLAB_CLIENT_ID=your_gitlab_oauth_client_id
GITLAB_CLIENT_SECRET=your_gitlab_oauth_client_secret
# Session Secret (generate a random string)
# Use: openssl rand -hex 32
SESSION_SECRET=your_random_session_secret_here
# Environment
NODE_ENV=development