HU
Humen-debug/sleep-tracker
Flutter Healthcare App for HKU COMP3330
Sleep Tracker
SleepTracker aims to help with user's sleeping habits by providing personal sleeping patterns and summarizing and analysing their sleeping behaviour. It is designed for anyone including but not limited to night owls, shift workers, or someone who loves a good power nap!
โจ Key Features
๐ค Future features
- Tracking snore sounds, exhaustion rates and screen activity to provide a holistic view of sleep hygiene
- AI-powered sleep coaching with machine learning algorithms to provide personalized sleep tips
- Personalized sleep insights dashboard where users can see key metrics and trends that matter most to them at a glance
- Weekly and monthly reports highlighting improvements and areas for growth
- Incorporate a library of guided meditation and relaxation sounds
- Gamification elements where users can set sleep goals and earn rewards or badges for achieving them
๐ Run locally
- Clone this project to your local environment
git clone "https://github.com/Humen-debug/sleep-tracker.git"
- Run the app on an emulator or a physical device
flutter run
Development
๐ฆ File Structure
Details
โโโ assets
โโโ lib
โ โโโ components
โ โโโ logger
โ โโโ models
โ โโโ pages
โ โโโ providers
โ โโโ routers
โ โโโ utils
โโโ scripts
๐งฉ Built-with
- auto_route - Package to automatically generate routes
- fl_chart - Chart library that supports a variety of charts
- sensors_plus - Plugin to access the accelerometer, gyroscope, magnetometer and barometer sensors
- hooks_riverpod - Framework for caching and data-binding
- freezed - Code generation for immutable classes
- shared_preferences - Plugin for local storage
- flutter_secure_storage - Plugin for secure storage
- graphql - GraphQL client for flutter
- logger - Logger for monitoring and troubleshooting front-end errors
- background_fetch - Plugin for periodic callbacks in the background