TanStack Start app for the Mentee bot.
- React 19 + React Compiler
- TanStack Start / Router / Query / Store
- Vite
- Tailwind CSS 4
- Biome (lint + format)
- Paraglide (i18n)
- PostHog (analytics)
npm install
cp .env.local.example .env.local # if present — otherwise create .env.localnpm run dev # vite dev server on port 3001
npm run build # production build
npm run preview # preview production build
npm run test # vitest (single run)
npm run lint # biome lint
npm run format # biome format
npm run check # biome lint + formatsrc/routes/— file-based routes (TanStack Router)src/components/— shared componentssrc/integrations/— third-party integrations (PostHog, TanStack Query)src/lib/— utilitiesmessages/— i18n message sources (Paraglide)project.inlang/— Paraglide i18n config
Path aliases #/* and @/* both resolve to src/*.
Required .env.local variables:
VITE_API_URL— backend base URL (defaults tohttp://localhost:8001)VITE_POSTHOG_KEY— PostHog project API keyVITE_POSTHOG_HOST— optional, set for EU Cloud or self-hosted PostHog
This project uses shadcn/ui:
pnpm dlx shadcn@latest add <component>