-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (32 loc) · 1.78 KB
/
.env.example
File metadata and controls
39 lines (32 loc) · 1.78 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
# Database Configuration
DATABASE_URL=mysql+pymysql://taskuser:taskpass123@localhost:3306/task_db
TEST_DATABASE_URL=mysql+pymysql://taskuser:taskpass123@localhost:3306/task_db_test
# JWT Configuration
SECRET_KEY=kJ8x9mN2pQ5rT8vW1yZ4aC7bF9hK2nP6sU9xB4eH7jL0mQ3tV6yC8fG1kN4qR7uX
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=60
# Email Configuration (Simulation)
EMAIL_ENABLED=true
SMTP_SERVER=localhost
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
FROM_EMAIL=noreply@taskchallenge.com
# Application Configuration
API_V1_STR=/api/v1
PROJECT_NAME=Task Challenge API
DEBUG=true
CORS_ORIGINS=[\
http://localhost:3000\, \http://localhost:8080\, \http://localhost:8000\]
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
# GraphQL Configuration
GRAPHQL_ENDPOINT=/graphql
GRAPHQL_PLAYGROUND_ENABLED=true
# Redis Configuration (for caching)
REDIS_URL=redis://localhost:6379/0
# Development
RELOAD=true
HOST=0.0.0.0
PORT=8000