Add FastAPI backend for real-time geospatial OSINT dashboard: - Full-text search via PostgreSQL tsvector (parameterized queries) - Entity tracking, alert management, sentiment analytics - Data ingestion: RSS feeds, GDELT, USGS earthquakes, social signals - NATS JetStream consumer for event ingestion - MinIO document storage integration - Redis caching layer - Alembic migrations with PostGIS + TimescaleDB extensions - Single-page dashboard UI with live polling - OpenTelemetry distributed tracing Helm chart with infrastructure: - CNPG PostgreSQL cluster (PostGIS + TimescaleDB) - NATS JetStream with persistent streams - MinIO distributed object storage (3 buckets) - Redis Sentinel (1 primary + 2 replicas) - NGINX Ingress with TLS and WebSocket support - Prometheus + Grafana + Alertmanager monitoring stack - Network policies with default deny - ConfigMap, CronJob, Deployment, Service templates Fixes applied during review: - SQL injection in search endpoint (parameterized :q binding) - Dockerfile PYTHONPATH mismatch (/app/app -> /app) - Hardcoded DB credentials in alembic.ini - RSS timestamp parsing (feedparser published_parsed -> parsedate_to_datetime) - Removed dead PGVECTOR import
13 lines
216 B
Text
13 lines
216 B
Text
fastapi>=0.115
|
|
uvicorn[standard]>=0.34
|
|
sqlalchemy[asyncio]>=2.0
|
|
asyncpg>=0.30
|
|
nats-py>=2.9
|
|
redis[hiredis]>=5.2
|
|
minio>=7.2
|
|
pydantic>=2.10
|
|
alembic>=1.14
|
|
httpx>=0.28
|
|
feedparser>=6.0
|
|
python-dateutil>=2.9
|
|
structlog>=24.4
|