"From Detection to Prevention" - Catch cancer before it starts.
Mira uses AI to analyze medical images and patient data to provide early cancer risk assessments, empowering patients and healthcare providers with actionable insights.
- Chest X-Ray Screening - DenseNet121 deep learning model for lung abnormality detection
- Mammography Analysis - Breast cancer screening with ML models
- Multi-Model Consensus - Results from multiple AI models for better accuracy
- Paste any medical report (blood tests, imaging, biopsy)
- AI translates medical jargon into plain English
- Personalized recommendations and questions to ask your doctor
- Track screening results over time
- Visual timeline of risk changes
- Detect patterns and trends early
- Family history analysis
- Genetic marker screening (BRCA, etc.)
- Lifestyle factors evaluation
- Clean, modern interface
- Detailed but understandable results
- Downloadable reports for healthcare providers
| Layer | Technology |
|---|---|
| Frontend | Next.js 16, React 19, Tailwind CSS |
| Backend | Node.js, Hono, TypeScript |
| Database | PostgreSQL (Prisma ORM) |
| ML Models | DenseNet121 (PyTorch), scikit-learn |
| AI | OpenAI GPT-4o (report analysis) |
| Deployment | Fly.io (backend), Vercel (frontend) |
POST /auth/signup - Create account
POST /auth/login - Login
POST /screening/xray - Chest X-ray analysis (DenseNet121)
POST /screening/mammography - Mammogram analysis
POST /screening/report-analyze - Text report AI analysis (GPT-4o)
POST /screening/risk-assessment - Comprehensive risk scoring
POST /screening/longitudinal-track - Track changes over time
GET /screening/history - Get user's screening history
GET / - API info
- Node.js 20+
- Python 3.11+
- PostgreSQL database (optional for demo)
# Clone the repo
git clone <repo-url>
cd backend
# Install dependencies
npm install
# Set up environment
cp .env.example .env
# Edit .env with your API keys (OpenAI, DATABASE_URL, etc.)
# Generate Prisma client
npx prisma generate
# Start development server
npm run dev# Terminal 1: Start ML service (port 5000)
cd ml-model
python app.py
# The service handles both X-ray and mammographycd frontend
npm run build
# Deploy to Vercel
npx vercel deploy| Route | Description |
|---|---|
/ |
Landing page |
/signup |
User registration |
/login |
User login |
/dashboard |
Overview & quick actions |
/screening |
New AI screening |
/longitudinal |
Prevention timeline |
/results |
History & results |
/report-analysis |
AI text report analyzer |
/risk-assessment |
Risk profile |
DATABASE_URL=postgresql://...
OPENAI_API_KEY=sk-...
PORT=3000
ML_SERVICE_URL=http://localhost:5000{
"hasAbnormality": false,
"confidence": 0.85,
"findings": [
{ "type": "Normal", "severity": "normal", "probability": 78.5 }
],
"recommendation": "No significant abnormalities detected"
}{
"summary": "Your blood test results show all values within normal ranges...",
"findings": [
{ "term": "Hemoglobin", "explanation": "Protein in blood that carries oxygen - your level is healthy", "severity": "normal" }
],
"recommendations": ["Continue maintaining a balanced diet", "Regular exercise"],
"questionsForDoctor": ["Should I be concerned about my iron levels?"]
}This is an AI-powered screening tool for informational purposes only. It is NOT a medical diagnosis. Always consult with qualified healthcare professionals for proper medical advice.
- Multi-Model AI - DenseNet121, ResNet-50, EfficientNet for consensus
- GPT-4o Integration - Plain English medical report analysis
- Longitudinal Tracking - Unique prevention-focused feature
- End-to-End Pipeline - From image upload to actionable insights
- Production-Ready - Deployed on Fly.io + Vercel
MIT License
Built with โค๏ธ for Hackathon 2026