Built by Team Algorythms | Led by Anvita Shukla
In India, millions of children miss critical vaccines due to:
- Lost or degraded paper cards (Mamta Card)
- Forgotten vaccination dates
- Lack of portable digital records in rural areas
VacciTrack digitizes this process, creating a portable, intelligent immunization record that follows the child across healthcare jurisdictions.
Automatically generates a comprehensive vaccination schedule based on Date of Birth using National Immunization Schedule (NIS) 2025 rules.
A stunning, vertical timeline visualizing the child's complete health journey with color-coded status indicators:
- ๐ข Green: Completed vaccines
- ๐ก Amber: Pending (due within 7 days)
- ๐ด Red: Overdue vaccines
- โช Gray: Upcoming vaccines
- Parent Portal: View schedule, get reminders, download certificates
- Healthcare Provider Portal: Verify patients via ABHA ID, one-tap record updates
- Shield Level System: Track immunity progress with engaging badges
- Confetti Celebration: Visual reward on vaccine completion
- Progress Tracking: Motivation through achievement unlocking
Instant toggle between English and Hindi (เคนเคฟเคเคฆเฅ) for broader accessibility.
Fully responsive design optimized for mobile-first rural connectivity.
| Layer | Technology |
|---|---|
| Frontend | React 18 + TypeScript + Vite |
| Styling | Tailwind CSS + Custom Design System |
| Animations | Framer Motion |
| State | React Context + In-Memory Repository |
| Routing | React Router v6 |
| UI Components | shadcn/ui (customized) |
Repository Design Pattern: Data access layer is abstracted via repository classes, making it trivial to swap from In-Memory Arrays to MongoDB/PostgreSQL.
In-Memory Data Store: Zero database latency for hackathon demos - instant, reliable performance.
- Node.js (v18 or higher)
- npm or yarn
git clone https://github.com/your-username/vaccitrack.git
cd vaccitracknpm installCreate a .env file in the root directory:
# VacciTrack Environment Configuration
# =====================================
# Application Settings
VITE_APP_NAME=VacciTrack
VITE_APP_VERSION=1.0.0
# API Configuration (for future backend integration)
VITE_API_URL=http://localhost:5000/api
VITE_API_TIMEOUT=30000
# Authentication
VITE_JWT_SECRET=vaccitrack_super_secret_hackathon_key_2025
VITE_JWT_EXPIRY=7d
# Feature Flags
VITE_ENABLE_SMS_NOTIFICATIONS=false
VITE_ENABLE_PUSH_NOTIFICATIONS=false
VITE_ENABLE_OFFLINE_MODE=true
# Demo Mode
VITE_DEMO_MODE=true
# Analytics (optional)
VITE_ANALYTICS_ID=
# Supabase (for future integration)
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=npm run devApplication will launch at http://localhost:8080
Pre-seeded accounts for immediate testing:
| Field | Value |
|---|---|
parent@demo.com |
|
| Password | password123 |
| Child | Aarav Sharma (has pending vaccines) |
| Field | Value |
|---|---|
doctor@aiims.com |
|
| Password | password123 |
| Access | Can view/modify all patient records |
-
Login as Parent: See Aarav's vaccination timeline with amber (pending) vaccines
-
Login as Doctor (use incognito): Search for "Aarav", click the "Administer" button on a pending vaccine
-
Check Parent View: Refresh - the vaccine is now green (completed) with confetti celebration!
-
Language Toggle: Click the globe icon to switch between English/Hindi
-
Add New Child: Use the "Add Child" button to register a new child and auto-generate their NIS schedule
vaccitrack/
โโโ src/
โ โโโ components/ # Reusable UI components
โ โ โโโ ChildCard.tsx # Child profile cards
โ โ โโโ ConfettiExplosion.tsx
โ โ โโโ Navbar.tsx
โ โ โโโ ShieldBadge.tsx # Gamification badge
โ โ โโโ StatsCard.tsx
โ โ โโโ VaccineTimeline.tsx
โ โโโ context/ # React Context providers
โ โ โโโ AuthContext.tsx
โ โ โโโ LanguageContext.tsx
โ โโโ lib/ # Core logic & utilities
โ โ โโโ dataStore.ts # In-memory repository
โ โ โโโ i18n.ts # Translations
โ โ โโโ utils.ts
โ โ โโโ vaccineSchedule.ts # VaxCalc engine
โ โโโ pages/ # Route pages
โ โ โโโ ChildDetail.tsx
โ โ โโโ DoctorDashboard.tsx
โ โ โโโ Login.tsx
โ โ โโโ NotFound.tsx
โ โ โโโ ParentDashboard.tsx
โ โโโ App.tsx # Main app with routing
โ โโโ index.css # Design system tokens
โ โโโ main.tsx
โโโ .env # Environment variables
โโโ index.html
โโโ tailwind.config.ts
โโโ README.md
VacciTrack implements the complete NIS with 4 phases:
- BCG, OPV-0, Hepatitis B Birth Dose
- OPV, Pentavalent, Rotavirus, fIPV, PCV series
- MR-1, MR-2, JE-1, JE-2, DPT Booster, OPV Booster, PCV Booster
- DPT Booster 2 (5-6 years)
- Td at 10 years
- Td at 16 years
Gap Rule Implementation: Minimum 4-week (28 days) interval between doses is enforced. If a dose is delayed, subsequent doses are automatically rescheduled.
- JWT Authentication: Simulated token-based auth
- Role-Based Access Control: Parents can only view their children; Doctors can update any record
- ABHA ID Simulation: 14-digit unique identifier for interoperability
Custom medical-themed design with semantic tokens:
| Token | Purpose |
|---|---|
--primary |
Teal (#0d9488) - Health, calmness |
--secondary |
Indigo (#6366f1) - Trust, technology |
--success |
Green - Completed vaccines |
--warning |
Amber - Pending/Due soon |
--destructive |
Rose - Overdue alerts |
- Database Migration: MongoDB Atlas / Supabase integration
- Real SMS Notifications: Twilio/MSG91 integration
- AI VaxBot: Gemini API for natural language Q&A
- Offline Sync: Service Worker for true offline-first PWA
- IoT Cold Chain: Temperature sensor integration
- Real ABHA Integration: NHA API connectivity
| Feature | Implementation | Why It Wins |
|---|---|---|
| Data Store | In-Memory Arrays (Repository Pattern) | Zero latency, no connection failures |
| UI | Tailwind + Framer Motion | Premium animations, "visually appealing" |
| Notifications | Console Log + Visual Alerts | Demonstrates logic without SMS costs |
| Logic | Custom NIS 2025 Algorithm | Deep domain understanding |
| Gamification | Shield Levels + Confetti | Behavioral psychology for compliance |
| i18n | English + Hindi | Social impact for rural India |
- Anvita Shukla - Team Lead
- Built with โค๏ธ for India's children
MIT License - Free for educational and non-commercial use.
Contributions welcome! Please read our contributing guidelines and submit PRs.
VacciTrack - Digitizing India's Last Mile in Immunization ๐ฎ๐ณ