Building a Modern AI Chat Interface: React + TypeScript Implementation

Built a clean React frontend that connects to my previous .NET backend project. The UI lets you chat with AI models (ChatGPT and Claude) while handling voice input and PDF document processing.

Key Features

  • Voice-to-text conversion for natural conversations
  • PDF document upload and analysis
  • Real-time AI chat with streaming responses
  • Clean Material-UI + Tailwind CSS interface
  • Chat history management

Simple Setup

  1. Clone repo
  2. npm install
  3. Configure backend URL in .env
  4. npm start

The UI is minimal but functional – single chat window with document sidebar, voice input button, and message history. Perfect for applications needing AI chat with document analysis capabilities.

Check out the code to see how it all fits together!

https://github.com/ivanjurina/chatgpt-claude-react-app