Python/FastAPI backend with PostgreSQL for collecting Reddit data via public .json endpoints. React/Vite dashboard for analytics. Docker Compose setup with API and worker services connecting to shared PostgreSQL. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
335 B
Python
14 lines
335 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter(prefix="/summaries", tags=["summaries"])
|
|
|
|
|
|
@router.get("")
|
|
async def list_summaries():
|
|
return {"data": [], "message": "AI summaries not yet configured"}
|
|
|
|
|
|
@router.get("/{summary_id}")
|
|
async def get_summary(summary_id: int):
|
|
return {"detail": "AI summaries not yet configured"}
|