Spaces:
Running
Running
| # QuantHedge Environment Configuration | |
| # Copy this to .env and fill in your values | |
| # βββ Database βββ | |
| DATABASE_URL=sqlite+aiosqlite:///./quanthedge.db | |
| # For PostgreSQL (production): | |
| # DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/quanthedge | |
| # βββ Redis (optional β falls back to in-memory cache) βββ | |
| REDIS_URL=redis://localhost:6379/0 | |
| # βββ Authentication βββ | |
| SECRET_KEY=change-me-to-a-random-secret-key-in-production | |
| JWT_ALGORITHM=HS256 | |
| ACCESS_TOKEN_EXPIRE_MINUTES=1440 | |
| # βββ External API Keys βββ | |
| ALPHA_VANTAGE_API_KEY= | |
| NEWS_API_KEY= | |
| GROQ_API_KEY= | |
| # βββ Celery (optional β falls back to synchronous execution) βββ | |
| CELERY_BROKER_URL=redis://localhost:6379/1 | |
| CELERY_RESULT_BACKEND=redis://localhost:6379/2 | |
| # βββ App Settings βββ | |
| APP_NAME=QuantHedge | |
| APP_VERSION=1.0.0 | |
| DEBUG=true | |
| CORS_ORIGINS=["http://localhost:5173","http://localhost:3000"] | |