My App
System Architecture

Frontend

The frontend is a React application written in TypeScript and built with Vite. It provides the pottery journal and chat interface, using Tailwind CSS and shadcn/ui components.

User interface

The interface has three views: pieces, events, and chat. Users can create and browse pottery pieces, then open a piece to record its stages, locations, and notes or review its event history.

Chat lets users ask questions about their pottery records. Answers appear incrementally as the backend streams them. When an answer includes sources, users can open the referenced piece and see the supporting events highlighted in its history. This connects the assistant's answers to the original journal entries.

Backend integration

A shared API client handles requests to the FastAPI backend, including reading and creating journal records and receiving streamed chat answers. Clerk provides the sign-in interface and authentication tokens, which the client attaches to backend requests. Database access and the chat pipeline remain in the backend.

On this page