A mobile-first Progressive Web Application (PWA) for comprehensive diabetes prevention, early detection, and ongoing management.
- WHO/ADA-compliant questionnaire
- Personalized diabetes risk scoring
- AI-powered explanations and recommendations
- 3-day diabetic and heart-friendly meal plans
- Adaptable to local cuisines and dietary restrictions
- AI-generated lifestyle tips
- Daily mood check-ins (1-5 scale with emojis)
- Gemini AI-generated affirmations and coping strategies
- Mood trend visualization
- Interactive charts for risk score changes
- Mood trends over time
- Nutrition adherence tracking
- AI-powered health insights
- Comprehensive 30-day health summaries
- Clinician-ready PDF reports
- Easy sharing with healthcare providers
- Personal information management
- Notification preferences
- Gemini AI integration settings
- Frontend: Vanilla HTML5, CSS3, JavaScript (ES6+)
- Database: IndexedDB with localStorage fallback (Kiro Database)
- AI Integration: Google Gemini AI API
- PWA: Service Worker, Web App Manifest
- Design: Mobile-first, Azure Blue & White color palette
- Modern web browser with PWA support
- (Optional) Google Gemini AI API key for enhanced features
- Clone or download the repository
- Open
index.htmlin a web browser - For enhanced AI features, obtain a Gemini AI API key and enter it in Profile > Settings
Simply open index.html in your browser. The app works entirely client-side with local data storage.
For a local server (recommended for PWA features):
# Using Python
python -m http.server 8000
# Using Node.js
npx serve .
# Using PHP
php -S localhost:8000Then visit http://localhost:8000
- Start with the risk assessment questionnaire
- Complete your profile information
- Begin daily mood tracking
- Generate your first meal plan
- Check in with your mood (takes 30 seconds)
- Review AI-generated health insights
- Follow your personalized meal plan
- Track progress over time
- Generate monthly reports for doctor visits
- Export your data for healthcare providers
- Use insights to guide health conversations
- All data is stored locally on your device
- No personal information is sent to external servers (except AI API calls)
- You control your data with export and delete options
- AI interactions are processed securely through Google's Gemini API
When you provide a Gemini AI API key, you unlock:
- Personalized risk explanations
- Custom meal plan generation
- Mood-based affirmations
- Progress analysis insights
- Motivational messages
Without an API key, the app provides helpful fallback responses.
- Chrome/Edge 80+
- Firefox 75+
- Safari 13+
- Mobile browsers with PWA support
This is a demonstration project showcasing modern web development practices for healthcare applications.
This project is for educational and demonstration purposes.
GlucoBalance is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult with qualified healthcare providers regarding your health concerns.
For technical issues or questions about the implementation, please refer to the code documentation and comments within the source files."# GlucoBalance"