Building the React Frontend: Document Library and Chat UI (Part 5)
React Query's refetchInterval turns a polling requirement into a one-liner. Here's the whole frontend, explained.
The frontend is where the demo either lands or doesn't. Interviewers will click around. Uploads need to feel instant, the pipeline status needs to update without a refresh, and the chat responses need citations that prove the AI actually read the documents — not just hallucinated plausible-sounding text.
This post covers how each of those things works, starting from auth and working through upload, status polling, and the chat UI.
Tech Choices













