✨ New Features: - AI-powered habit creation with natural language processing - HuggingFace transformers integration for sentiment analysis (tracked via Git LFS) - Advanced predictive analytics and behavioral insights - Voice & image input capabilities for hands-free habit tracking - Real-time notifications and community features - Plugin system with extensible architecture 🔧 Technical Improvements: - Comprehensive FastAPI backend with 30+ endpoints - React frontend with PWA capabilities - Advanced authentication with 2FA support - RBAC authorization system - Comprehensive security features (CSRF, rate limiting, audit logging) - Database migrations and health monitoring - Docker containerization support - Git LFS configured for large AI model files (2+ GB) 📚 Documentation & DevOps: - Complete deployment guides for multiple platforms - Professional README with feature highlights - GitHub Actions CI/CD workflows - Comprehensive API documentation - Security audit roadmap and compliance framework - Setup scripts for development environment 🧪 Testing & Quality: - Comprehensive test suite with 20+ test modules - Setup verification scripts - Working development environment with both backend and frontend - Health checks and monitoring systems 🌟 Ready for: - Portfolio showcasing - Community contributions - Production deployment - Professional presentation
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
# Security Environment Configuration
|
|
# Copy this to .env and fill in the values
|
|
|
|
# Critical: Set these in production
|
|
LIFERPG_JWT_SECRET=your_super_secure_jwt_secret_here_minimum_64_chars_long
|
|
ENVIRONMENT=production
|
|
|
|
# Database Configuration
|
|
DATABASE_URL=postgresql+psycopg2://liferpg_user:your_secure_password@localhost:5432/liferpg_production
|
|
DB_USER=liferpg_user
|
|
DB_PASSWORD=your_secure_database_password_here
|
|
DB_NAME=liferpg_production
|
|
DB_PORT=5432
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://:your_secure_redis_password@localhost:6379/0
|
|
REDIS_PASSWORD=your_secure_redis_password_here
|
|
REDIS_PORT=6379
|
|
|
|
# Application Configuration
|
|
FRONTEND_ORIGIN=https://yourdomain.com
|
|
BACKEND_PORT=8000
|
|
FRONTEND_PORT=5173
|
|
|
|
# Security Settings
|
|
COOKIE_SECURE=true
|
|
COOKIE_SAMESITE=strict
|
|
CSRF_ENABLE=true
|
|
FORCE_HTTPS=true
|
|
|
|
# Encryption Key (generate with: python -c "import secrets; print(secrets.token_urlsafe(32))")
|
|
ENCRYPTION_KEY=your_encryption_key_here
|
|
|
|
# Google OAuth (if used)
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_REDIRECT_URI=https://yourdomain.com/api/v1/oauth/google/callback
|
|
|
|
# Email Configuration
|
|
LIFERPG_EMAIL_TRANSPORT=smtp # console|smtp|disabled
|
|
SMTP_HOST=your_smtp_host
|
|
SMTP_PORT=587
|
|
SMTP_USERNAME=your_smtp_username
|
|
SMTP_PASSWORD=your_smtp_password
|
|
SMTP_USE_TLS=true
|
|
SMTP_FROM=noreply@yourdomain.com
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_PER_MINUTE=60
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
LOG_FORMAT=json
|
|
|
|
# Health Check
|
|
HEALTH_CHECK_TOKEN=your_health_check_token
|
|
|
|
# Sync orchestration
|
|
SYNC_MAX_CONCURRENCY_PER_PROVIDER=4
|
|
# Optional per-provider caps as JSON mapping
|
|
# SYNC_PROVIDER_CAPS={"todoist":2,"github":3}
|