How manikanteshwarareddy/smarthealthquote works
Project type and purpose
• From the README and file tree, this is the frontend of a full-stack, AI-powered insurance-quote platform (“SmartHealthQuote”) implemented as a React+Vite single-page app.
• It serves a chat-based UI to collect user health data, fetch personalized quotes, and display provider directories. The backend (FastAPI + RAG pipeline + Faiss + Mistral 7B) lives in a separate private repo.
File structure
• Top‐level files:
• package.json, vite.config.js, tsconfig/jsconfig.json → build & dependency config
• index.html → SPA entry point
• public/ → static assets
• README.md, vercel.json → deployment & docs
• src/
• main.jsx → React DOM bootstrap
• App.jsx + App.css → root layout & global styles
• routes/Router.jsx → client‐side route definitions
• pages/ → route‐level components (AuthPage, chat, dashboard, providers, PrintQuote, privacy-policy, terms-of-service)
• components/ui/ → presentational UI atoms (button, input, card, header/footer, progress, ScrollToTop) built on shadcn/ui + Tailwind + Lucide
• lib/utils.js → shared utilities (e.g., Axios wrapper, auth helpers)
• index.css → Tailwind’s base imports + custom overrides
README for additional insights
• Confirms use of: React, Vite, Tailwind CSS, shadcn/ui, Lucide React, Axios, Vercel.
• Mentions backend: FastAPI, RAG (Retrieval-Augmented Generation with Mistral 7B + Faiss).
• Describes main pages/features (chat-based wizard, quote result, provider directory, legal pages).