This project is a refined version of an initially unstructured AI-generated system, transformed into a clean, secure, and fully functional healthcare mini application.
A professional, streamlined healthcare platform built with a modern stack for security and scalability. This project simplifies patient-doctor interactions, medical record management, and AI-driven symptom analysis.
- Frontend: React + Vite + TypeScript + Tailwind CSS
- Backend (Storage/DB/Auth): Supabase
- AI Backend: Node.js + Express (OpenAI API Proxy)
- Maps: Google Maps JS API
- Seamless Auth: Complete landing page to dashboard flow via
/auth. - Auto-Profile Creation: Instant profile generation on signup using SQL triggers.
- Smart Document Vault: Secure file uploads (PDF/Images) with strict validation and owner-based RLS.
- AI Health Assistant: Symptom analysis and hospital recommendations via a secure Node.js proxy.
- Interactive Booking: Multi-step appointment scheduling with real-time feedback.
- Live Location: Automatic city detection for finding regional healthcare services.
- Node.js (v18+)
- Supabase Project
- OpenAI API Key
- Google Maps API Key
Run the following SQL in your Supabase SQL Editor:
Create a .env file in the root using the template in config/.env.example.
Backend (AI Proxy):
cd backend
npm install
npm run devFrontend:
cd frontend
npm install
npm run dev- RLS Policies: Every table (
profiles,documents,appointments) is protected. Users can ONLY access their own data. - Key Protection: The OpenAI API key is hidden behind the Node.js proxy.
- File Validation: Uploads are restricted to specific types and a 5MB size limit.