This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm run dev- Start development server on port 8080npm run build- Build for productionnpm run build:dev- Build in development modenpm run lint- Run ESLintnpm run preview- Preview production build
This is a full-stack application with a React frontend and FastAPI backend:
- Framework: React 18 with TypeScript, built using Vite
- UI Library: shadcn/ui components with Radix UI primitives
- Styling: Tailwind CSS with custom animations
- Routing: React Router DOM with authentication guards
- State Management: TanStack React Query for server state, local state with React hooks
- Authentication: Supabase Auth with session management in
App.tsx:18-28
- Location:
/backend/directory - API: FastAPI with CORS middleware
- Entry Point:
backend/main.py- simple agent endpoint at/api/agent
RequireAuthcomponent inApp.tsxhandles session management- Supabase client configured in
src/lib/supabaseClient.ts - Protected routes can be wrapped with
RequireAuth
- Pages: Main route components in
src/pages/ - Components: Reusable components in
src/components/ - UI Components: shadcn/ui components in
src/components/ui/ - Services: API and mock services in
src/services/
- Tailwind CSS with custom configuration
- Component-specific CSS modules (e.g.,
Index.module.css) - Global styles in
src/index.css
@/*maps to./src/*(configured invite.config.tsandtsconfig.json)
- Supabase: Used for authentication and potentially data storage
- Three.js: Used for 3D animations and visualizations
- TypeScript configuration has relaxed settings (
noImplicitAny: false,strictNullChecks: false) - Development server runs on
::(all interfaces) port 8080 - Uses component tagging for development mode debugging