How fluffyspy/stroke-guardian-angel-app works
Project type and purpose
• This is a single‐page front-end application built with Vite, React, and TypeScript.
• Its domain is medical assessment: it supports patient registration, emergency workflows, patient dashboards, various detection tests (balance, eye-tracking, speech), comprehensive analysis, and educational content about strokes.
File structure
• Top-level files: configuration for Vite (vite.config.ts), TypeScript (tsconfig.json), Tailwind (tailwind.config.ts), linting, package manifests.
• public/: static assets (e.g., index.html, robots.txt).
• src/ root: entry point (main.tsx, index.css), global utilities (src/lib/utils.ts), authentication service (src/services/authService.ts), type definitions.
• src/pages/: route-level components (Index, Login, NotFound).
• src/components/: subdivided into feature folders (e.g., dashboard, detection, analysis, education, ui).
• ui/: shared atomic UI components (buttons, cards, forms, modals, etc.) built on shadcn-ui + Tailwind.
• detection/: further broken down into test types (balance, eyeTracking, speech) with both screens and hooks or utilities for hardware integration.
• dashboard/ & analysis/: composite views aggregating data from services and sensor modules.
• src/hooks/: custom React hooks (e.g., use-mobile, use-toast).
Extracted architecture insights from README
• Tech stack: Vite, React, TypeScript, shadcn-ui, Tailwind CSS.
• No backend resides in this repo; it likely communicates with external APIs (e.g., authentication, patient data) or hardware interfaces.