Skip to content
Source
Sign inSign up
TanStack/cli

frameworks/react-cra/examples/tanchat

Contents of frameworks/react-cra/examples/tanchat
NameLast commit messageLast commit date
..
assets (directory)
info.json
package.json
README.md
small-logo.svg

README.md

TanStack Chat Application

Am example chat application built with TanStack Start, TanStack Store, and Claude AI.

.env Updates

ANTHROPIC_API_KEY=your_anthropic_api_key

✨ Features

AI Capabilities

  • πŸ€– Powered by Claude 3.5 Sonnet
  • πŸ“ Rich markdown formatting with syntax highlighting
  • 🎯 Customizable system prompts for tailored AI behavior
  • πŸ”„ Real-time message updates and streaming responses (coming soon)

User Experience

  • 🎨 Modern UI with Tailwind CSS and Lucide icons
  • πŸ” Conversation management and history
  • πŸ” Secure API key management
  • πŸ“‹ Markdown rendering with code highlighting

Technical Features

  • πŸ“¦ Centralized state management with TanStack Store
  • πŸ”Œ Extensible architecture for multiple AI providers
  • πŸ› οΈ TypeScript for type safety

Architecture

Tech Stack

  • Frontend Framework: TanStack Start
  • Routing: TanStack Router
  • State Management: TanStack Store
  • Styling: Tailwind CSS
  • AI Integration: Anthropic's Claude API