Spaces:
Sleeping
Sleeping
IntegraChat Frontend
Next.js 16 / React 19 app that showcases everything wired up in backend/.
It provides a polished operator console with:
- Hero + feature overview describing the FastAPI + MCP stack
- Live chat panel that POSTs to
POST /agent/message - Analytics snapshot pulling from
GET /analytics/overview - Knowledge ingestion pipeline summary tied to Celery workers
Running Locally
cd frontend
npm install
npm run dev
Visit http://localhost:3000.
API configuration
The UI calls the FastAPI service through NEXT_PUBLIC_API_URL (default http://localhost:8000).
Update .env.local if your backend runs elsewhere:
NEXT_PUBLIC_API_URL=http://localhost:8000
Deploy
Deploy like any Next.js app (Vercel, Docker, etc.). Ensure the backend endpoints are reachable from the browser and CORS is enabled (already configured in backend/api/main.py).