Skip to content
MediTrack

MediTrack

Every heartbeat, every step — your health in check

Created on 24th August 2025

•

MediTrack

MediTrack

Every heartbeat, every step — your health in check

The problem MediTrack solves

🩺 Problem it Solves

Accessing, managing, and analyzing personal health data is still a fragmented and inefficient process for most people. Patients often struggle with:

  • Scattered medical reports across different hospitals, labs, and clinics.
  • Difficulty in tracking medical history, making it hard for doctors to get a complete picture.
  • Manual report analysis — patients often cannot interpret their own reports without depending on a doctor.
  • Limited access — health records are not always accessible on-demand, especially in emergencies.
  • Data security concerns when sharing sensitive health records online.

👉 SwasthyaVault (or MediTrack) solves this by providing:

  • A unified digital vault for storing, accessing, and managing health records securely.
  • AI-powered insights (via Gemini) to analyze medical reports and provide easy-to-understand summaries.
  • A hospital directory to quickly locate healthcare providers.
  • A personalized dashboard to track health trends and history over time.

In short, it bridges the gap between patients, doctors, and data by making healthcare accessible, secure, and intelligent.

Challenges we ran into

⚡ Challenges I Ran Into

  • JWT Authentication Bug
    While implementing authentication, the JWT cookie (uid) was not being set correctly in the browser due to CORS and httpOnly issues. This caused protected routes to fail.
    🔧 Fix: Configured backend with proper CORS settings (credentials: true) and ensured cookies were sent with axios requests (withCredentials: true).

  • Sidebar Overlap Issue
    Initially, the sidebar wasn’t stretching to the full height and overlapped with the main content.
    🔧 Fix: Used Tailwind utilities (fixed top-0 left-0 h-screen w-64) and added ml-64 to the main content container in MainLayout.jsx to align everything properly.

  • AI Response Formatting
    Gemini’s API returned raw text that wasn’t structured for easy display inside the app.
    🔧 Fix: Wrote a custom parser to format the AI’s response into sections, making it readable and user-friendly.

  • Database Schema Confusion
    Designing MongoDB schemas for reports, users, and hospitals without over-complicating relationships was tough.
    🔧 Fix: Broke down schemas into modular collections and used userId references for scalability.

Tracks Applied (1)

Medical Track

MediTrack is a patient-centered medical history tracker that centralizes health records, prescriptions, and ABDM-linked ...Read More

Discussion

Builders also viewed

See more projects on Devfolio