-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
35 lines (28 loc) · 1.09 KB
/
env.example
File metadata and controls
35 lines (28 loc) · 1.09 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
# Auth Mode (dev only)
# Set to "true" to use mock auth with DevAuthButton (no GitHub OAuth needed)
# Leave unset or "false" to use real GitHub OAuth
NEXT_PUBLIC_USE_MOCK_AUTH=true
USE_MOCK_AUTH=true
# GitHub OAuth App (for real authentication)
# Get from: https://github.com/settings/apps
# Only needed if USE_MOCK_AUTH is not true
GITHUB_APP_CLIENT_ID=Iv1.your_client_id_here
GITHUB_APP_CLIENT_SECRET=your_secret_from_github
# NextAuth (generate with: openssl rand -base64 32)
# Only needed if USE_MOCK_AUTH is not true
NEXTAUTH_SECRET=generate_with_openssl_rand_base64_32
NEXTAUTH_URL=http://localhost:3000
# Backend API
BACKEND_BASE_URL=http://localhost:8080
API_KEY=
# Cloudinary (for image uploads)
CLOUDINARY_CLOUD_NAME=cloudinary_cloud_name
CLOUDINARY_API_KEY=cloudinary_api_key
CLOUDINARY_API_SECRET=cloudinary_api_secret
# Site URL
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Dev Features
# Set to "true" to show restart button on profile pages (for local development only)
NEXT_PUBLIC_ENABLE_RESTART=true
# Optional: GitHub API Token for higher rate limits
# GITHUB_TOKEN=your_github_token_here