LLMonade Client is a React + TypeScript single-page application that provides the user interface for LLMonade’s error-analysis workflow.
Built with Vite for fast dev/build, Material UI for UI components, TanStack Query for data fetching/caching, and React Router for navigation.
- Core: React 19, TypeScript
- UI components: Material UI 7
- Data & state: TanStack Query 5, React Context
- Routing: React Router 7
- Tooling: Vite 6, ESLint
- Node.js 18+
- npm 9+
From the repository root:
cd client
npm install
npm run devThen open the URL printed by Vite (defaults to http://localhost:5173).
This app expects an API server running at http://localhost:3000. During development, all requests to /api are proxied to the backend as configured in vite.config.ts.
# Start the dev server
npm run dev
# Type-check and build for production (outputs to dist/)
npm run build
# Preview the production build locally
npm run preview
# Lint the project
npm run lint- No client-side environment variables are required by default.
- Dev API proxy is defined in
vite.config.tsunderserver.proxy['/api'].- To point at a different dev backend, update the proxy
target.
- To point at a different dev backend, update the proxy
- For production, serve the built
dist/behind the same origin as the API or configure your reverse proxy to forward/apito the backend.
npm run buildThe production build is emitted to dist/. You can preview locally via:
npm run previewDeploy the dist/ directory to any static host or serve it behind your web server/reverse proxy. Ensure the server forwards /api to your backend (default: http://localhost:3000).
- Backend API: see
server/in the repository for the Node/Express service that powers/api.