-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (29 loc) · 992 Bytes
/
Copy path.env.example
File metadata and controls
35 lines (29 loc) · 992 Bytes
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
# Server
PORT=8080
ENVIRONMENT=development
BACKEND_URL=http://localhost:8080
FRONTEND_URL=http://localhost:5173
# Database
MONGO_URI=mongodb://localhost:27017
DATABASE_NAME=shotify
# JWT
JWT_SECRET=your-super-secret-jwt-key-change-in-production-min-32-chars
# AWS S3 (or MinIO)
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key
AWS_S3_BUCKET=shotify-uploads
# For MinIO or LocalStack, uncomment:
# AWS_ENDPOINT=http://localhost:9000
# CORS
ALLOWED_ORIGINS=http://localhost:5173
# OAuth - Google
# Get these from: https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URL=http://localhost:8080/api/auth/google/callback
# OAuth - GitHub
# Get these from: https://github.com/settings/developers
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
GITHUB_REDIRECT_URL=http://localhost:8080/api/auth/github/callback