-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (24 loc) · 997 Bytes
/
Copy path.env.example
File metadata and controls
31 lines (24 loc) · 997 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
PROJECT_NAME=Blogify Backend
VERSION=1.0.0
DEBUG=True
API_V1_STR=/api/v1
# Secure Database Connection (Replace with your actual credentials for local development)
DATABASE_URL=postgresql+asyncpg://your_postgres_user:your_postgres_password@db:5432/your_postgres_db
# Cryptographical Secrets (Generate a secure 32-character random key in production)
JWT_SECRET_KEY=your_secure_32_character_jwt_secret_key_here
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=30
# CORS Allowed Origins
ALLOWED_ORIGINS=["http://localhost:3000","http://localhost:8081","http://10.0.2.2:8000"]
# Google OAuth 2.0 (US-002)
GOOGLE_CLIENT_ID=your_google_oauth_client_id.apps.googleusercontent.com
# Gemini AI
GEMINI_API_KEY=your_gemini_api_key
# PostgreSQL Container Setup
POSTGRES_USER=your_postgres_user
POSTGRES_PASSWORD=your_postgres_password
POSTGRES_DB=your_postgres_db
# pgAdmin Management Panel Credentials
PGADMIN_DEFAULT_EMAIL=admin@admin.com
PGADMIN_DEFAULT_PASSWORD=admin123