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
Features โข Tech Stack
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