smart-attendance-api / backend /.env.example
Pratham200Rajbhar
first commit
78013c4
Raw
History Blame Contribute Delete
587 Bytes
# Project Settings
PROJECT_NAME="Smart Attendance System API"
API_V1_STR="/api/v1"
# Database Configuration
# Replace with actual PostgreSQL connection credentials
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/smart_attendance?schema=public"
# JWT Security
# Generate a secure secret using: openssl rand -hex 32
JWT_SECRET="supersecretkeychangeinproduction"
JWT_ALGORITHM="HS256"
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# Redis Cache
REDIS_URL="redis://localhost:6379/0"
# AI Thresholds
PASS_THRESHOLD=0.75
# Environment (development / production)
ENVIRONMENT="development"