How gokulsathish2016-debug/odisha-helth-saathi works
Project type and purpose
• From the README and file tree, this is a React + TypeScript single‐page application (SPA) built with Vite, Tailwind CSS, and shadcn-ui.
• It provides a conversational “Lovable” health assistant interface (“ChatInterface”, “VoiceInterface”) with district selection, health alerts/patterns, emergency contacts, language selection, and memory of past health queries.
File structure
• Top-level:
• public/ – static assets (robots.txt, index.html)
• src/ – main source folder
· components/ – all UI components
· ui/ – shadcn-ui primitives (buttons, dialogs, tables, etc.)
· feature components (ChatInterface.tsx, VoiceInterface.tsx, DistrictSelector.tsx, etc.)
· hooks/ – custom React hooks (use-mobile, use-toast)
· services/ – business logic & API wrappers (geminiService, healthMemoryService, voiceService)
· lib/ – shared utility code (utils.ts)
· pages/ – route targets (Index.tsx, NotFound.tsx)
· main.tsx, App.tsx – top-level bootstrap & routing
• Config files: vite.config.ts, tsconfig*.json, tailwind.config.ts, eslint.config.js.
README for additional insights
• No backend is present; all logic runs in-browser or calls external services.
• Deployment is handled by Lovable (static site hosting).
• External dependencies: Node.js, npm, Vite, and Lovable’s publish pipeline.