File size: 906 Bytes
aa63765
ef83e66
aa63765
 
ef83e66
aa63765
 
 
 
 
 
ef83e66
 
aa63765
 
ef83e66
 
 
aa63765
ef83e66
aa63765
ef83e66
aa63765
 
ef83e66
aa63765
 
 
ef83e66
aa63765
ef83e66
aa63765
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## 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

```bash
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`).