A production-grade mental health & wellness tracking platform with AI-powered insights, FDA-validated medication safety, and comprehensive privacy protection.
🎯 Try it now → https://isaloum.github.io/MindTrackAI
📚 Documentation • Quick Start • Architecture • Privacy & Security • FAQ
A full-stack health and wellness platform that integrates 6 specialized applications into one unified system. Built with test-driven development (82% coverage, 1,927 tests), CI/CD automation, and production-ready code quality.
📊 1,927 Automated Tests (100% passing)
🎯 82.55% Test Coverage
⚡ 37 Test Suites
🔒 0 Security Vulnerabilities
🤖 CI/CD with GitHub Actions (Node 18.x & 20.x)
📦 6 Integrated Applications
| Application | Purpose | Key Features |
|---|---|---|
| 🧠 Mental Health Tracker | PTSD/trauma recovery support | Mood tracking, symptom monitoring, correlation analysis, insights |
| 💊 Medication Tracker | Medication management | Adherence tracking, drug interaction warnings (65+ interactions), reminders |
| 😴 Sleep Tracker | Sleep pattern analysis | Quality tracking, duration analysis, sleep debt calculation |
| 🏃 Exercise Tracker | Fitness monitoring | Activity logging, goal tracking, intensity levels |
| 📊 Daily Dashboard | Unified wellness overview | 0-100 wellness score, correlations, trends, smart recommendations |
| ☁️ AWS Study Guide | Cloud certification prep | 20+ concepts, practice quizzes, progress tracking |
┌─────────────────────────────────────────────────────────────┐
│ StepSyncAI Platform │
└─────────────────────────────────────────────────────────────┘
┌─────────────────┐ ┌─────────────────┐ ┌──────────────┐
│ Mental Health │ │ Medication │ │ Sleep │
│ Tracker │ │ Tracker │ │ Tracker │
│ │ │ │ │ │
│ • Mood logs │ │ • Med schedule │ │ • Duration │
│ • Symptoms │ │ • Adherence │ │ • Quality │
│ • Insights │ │ • Interactions │ │ • Patterns │
└────────┬────────┘ └────────┬────────┘ └──────┬───────┘
│ │ │
└──────────────────────┼─────────────────────┘
│
┌───────────▼────────────┐
│ Daily Dashboard API │
│ │
│ • Data Aggregation │
│ • Wellness Scoring │
│ • Correlation Engine │
│ • Trend Analysis │
│ • Smart Recommendations│
└───────────┬─────────────┘
│
┌──────────────────────┼─────────────────────┐
│ │ │
┌────────▼────────┐ ┌────────▼────────┐ ┌─────▼──────┐
│ Exercise │ │ AWS Learning │ │ Reminder │
│ Tracker │ │ Guide │ │ Service │
│ │ │ │ │ │
│ • Activities │ │ • Lessons │ │ • Cron │
│ • Goals │ │ • Quizzes │ │ • Notifs │
│ • Intensity │ │ • Progress │ │ • Alerts │
└─────────────────┘ └─────────────────┘ └────────────┘
┌──────────────────────────────────┐
│ Data Layer (JSON Storage) │
│ │
│ • Local-first architecture │
│ • Privacy-preserving │
│ • Backup & restore support │
└──────────────────────────────────┘
┌──────────────────────────────────┐
│ CI/CD Pipeline │
│ │
│ • GitHub Actions │
│ • Multi-version testing │
│ • Security audits │
│ • Quality gates │
└──────────────────────────────────┘
- Test Coverage: 82.55% statements, 90.56% functions
- Test Suites: 37 comprehensive test files
- Test Types: Unit, integration, error handling, edge cases
- CI/CD: GitHub Actions with automated testing
- JSON-based local storage (privacy-first)
- Backup & restore system
- CSV/JSON/PDF export capabilities
node-cron- Scheduled remindersnode-notifier- Desktop notifications- Cross-platform support (Windows, macOS, Linux)
chalk- Colored terminal outputcli-table3- Beautiful tablesasciichart- ASCII charts & graphspdfkit- Professional PDF reports
- GitHub Actions CI/CD
- Multi-version Node.js testing (18.x, 20.x)
- Automated security audits
- Quality gates enforcement
Building this project taught me:
- ✅ RESTful API design patterns
- ✅ Data modeling and relationships
- ✅ File-based storage systems
- ✅ Error handling and validation
- ✅ Writing comprehensive test suites (1,927 tests!)
- ✅ Achieving high test coverage (82%+)
- ✅ Unit vs integration testing strategies
- ✅ Mocking and test isolation
- ✅ GitHub Actions workflows
- ✅ Multi-environment testing
- ✅ Automated quality gates
- ✅ Security vulnerability scanning
- ✅ Modular design patterns
- ✅ Service integration
- ✅ Data aggregation & correlation
- ✅ Scalable architecture planning
- ✅ User-centric feature design
- ✅ Data privacy considerations
- ✅ Healthcare data handling
- ✅ Professional-grade documentation
node --version # v18.x or v20.x required
npm --version# Clone the repository
git clone https://github.com/Isaloum/StepSyncAI.git
cd StepSyncAI
# Install dependencies
npm install
# Run tests to verify installation
npm test# Mental Health Tracker
npm run mental
# Medication Tracker
npm run med
# Daily Dashboard (unified view)
node daily-dashboard.js daily
# AWS Study Guide
npm run aws# All tests (1,927 tests)
npm test
# With coverage report
npm run test:coverage
# Watch mode
npm run test:watch| Module | Statements | Functions | Lines |
|---|---|---|---|
| Mental Health | 86.23% | 98.08% | 85.42% |
| Medication | 89.33% | 96.61% | 88.84% |
| Sleep Tracker | 88.23% | 98.18% | 87.66% |
| Exercise | 81.69% | 100% | 81.29% |
| Dashboard | 67.91% | 79.53% | 67.30% |
| Reminder Service | 100% 🎯 | 100% 🎯 | 100% 🎯 |
| Overall | 82.55% | 90.56% | 82.34% |
Automated quality checks on every commit:
✅ Multi-Version Testing - Node 18.x & 20.x ✅ Automated Tests - 1,927 tests run automatically ✅ Security Audits - Dependency vulnerability scanning ✅ Quality Gates - Coverage thresholds enforced ✅ Lint Checks - Code quality verification
See .github/workflows/ci.yml for pipeline configuration.
╔════════════════════════════════════════════════════════════╗
║ 📊 DAILY WELLNESS DASHBOARD ║
╚════════════════════════════════════════════════════════════╝
📅 Monday, December 8, 2025
┌─────────────────────────────────────────────────────────┐
│ 😊 OVERALL WELLNESS: 78.5/100 (78.5%) - Good │
└─────────────────────────────────────────────────────────┘
📊 Score Breakdown:
🧠 Mood: [████████████████░░░░] 20/25
Current: 8/10
😴 Sleep: [███████████████████░] 23.5/25
Last: 8.0h, Quality: 9/10
🏃 Exercise: [████████████████░░░░] 20/25
Today: 25 min (Goal: 30 min)
💊 Medication: [███████████████░░░░░] 15/25
Adherence: 60%
💡 Today's Recommendations:
✅ 🌟 Your mood is looking great! Keep up the good work.
🟡 🏃 You're averaging 25 min/day. Try to reach 30 minutes.
🔴 💊 Medication adherence is at 60%. Consistency is key.
Test Suites: 37 passed, 37 total
Tests: 1927 passed, 1927 total
Snapshots: 0 total
Time: 8.5s
Coverage Summary:
Statements : 82.55% ( 3418/4140 )
Branches : 68.74% ( 968/1408 )
Functions : 90.56% ( 385/425 )
Lines : 82.34% ( 3354/4074 )
- 🎯 1,927 Automated Tests - Comprehensive test coverage
- ✅ 82.55% Coverage - High code quality standards
- 🔒 0 Vulnerabilities - Security-first development
- 🤖 CI/CD Pipeline - Automated quality gates
- 📊 6 Integrated Apps - Mental health, medication, sleep, exercise, dashboard, AWS learning
- 🔗 Correlation Engine - Discover patterns in health data
- 📈 Trend Analysis - 8-week progress visualization
- 💡 Smart Insights - AI-like pattern detection
⚠️ Drug Interactions - 65+ dangerous interaction warnings
- 🏗️ Modular Design - Clean separation of concerns
- 📦 Service Integration - Unified dashboard API
- 🔄 Backup System - Data protection & recovery
- 📤 Multi-Format Export - CSV, JSON, PDF with charts
StepSyncAI/
├── 📁 __tests__/ # 37 test suites, 1927 tests
│ ├── mental-health-tracker.test.js
│ ├── medication-tracker.test.js
│ ├── daily-dashboard.test.js
│ └── ... (34 more test files)
│
├── 🏥 Core Applications
│ ├── mental-health-tracker.js # 92K lines - comprehensive tracker
│ ├── medication-tracker.js # 55K lines - drug interaction system
│ ├── sleep-tracker.js # 19K lines - sleep analysis
│ ├── exercise-tracker.js # 10K lines - fitness tracking
│ ├── daily-dashboard.js # 192K lines - unified platform
│ └── aws-for-kids.js # 85K lines - AWS certification prep
│
├── 🔧 Services & Utils
│ ├── reminder-service.js # 100% test coverage!
│ ├── backup-manager.js
│ ├── export-manager.js
│ ├── analytics-engine.js
│ └── validation-utils.js
│
├── ⚙️ Configuration
│ ├── .github/workflows/ci.yml # CI/CD pipeline
│ ├── package.json
│ └── eslint.config.js
│
└── 📚 Documentation
├── README.md # This file
├── TESTING_README.md # Testing guide
└── CONTRIBUTING.md # Contribution guidelines
- Convert to serverless architecture (Lambda + DynamoDB)
- Deploy to AWS with API Gateway
- Add Cognito authentication
- Setup CloudWatch monitoring
- React frontend
- Real-time data sync
- Responsive mobile design
- Progressive Web App (PWA)
- Multi-user support
- Machine learning insights
- Health device integration
- Telemedicine integration
Contributions welcome! Please read CONTRIBUTING.md for guidelines.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Write tests for new features
- Ensure tests pass (
npm test) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
- ✅ All tests must pass
- ✅ Maintain 80%+ test coverage
- ✅ Follow existing code style
- ✅ Update documentation
MIT License - see LICENSE file for details.
Built with ❤️ to support personal health, wellness, and professional development.
Technologies Used:
- Node.js for runtime
- Jest for testing framework
- GitHub Actions for CI/CD
- Various NPM packages for functionality
Special Thanks:
- Mental health professionals who inspired this project
- Open source community for amazing tools
- Healthcare workers on the front lines
- GitHub: Isaloum/StepSyncAI
- Issues: Report a Bug
- Discussions: Feature Requests
- National Suicide Prevention Lifeline: 988
- Crisis Text Line: Text HOME to 741741
- SAMHSA National Helpline: 1-800-662-4357
Version: 3.12.0 Status: ✅ Active Development Last Updated: December 2025 Test Suite: 1,927 tests passing Coverage: 82.55%
This tool is designed to support your wellness journey, not replace professional medical care. Always consult healthcare professionals for medical advice.
Ihab Saloum
Building production-grade applications • Test-Driven Development • AWS Cloud Solutions
If this project helped with your wellness journey or inspired your own projects:
- ⭐ Star this repository
- 🔀 Share it with others
- 📝 Provide feedback via issues
- 🤝 Contribute improvements