{"id":44425732,"url":"https://github.com/andriawan24/hydration-tracker-android","last_synced_at":"2026-02-12T10:26:14.078Z","repository":{"id":44328339,"uuid":"512069174","full_name":"andriawan24/hydration-tracker-android","owner":"andriawan24","description":"Hydration tracker app using clean architecture with jetpack library","archived":false,"fork":false,"pushed_at":"2025-02-06T14:15:40.000Z","size":5297,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T15:29:06.779Z","etag":null,"topics":["android","clean-architecture","jetpack-compose","kotlin","work-manager"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andriawan24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-09T01:52:03.000Z","updated_at":"2025-02-06T14:15:20.000Z","dependencies_parsed_at":"2025-02-08T01:00:29.313Z","dependency_job_id":null,"html_url":"https://github.com/andriawan24/hydration-tracker-android","commit_stats":null,"previous_names":["andriawan24/hydration-tracker-android"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/andriawan24/hydration-tracker-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriawan24%2Fhydration-tracker-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriawan24%2Fhydration-tracker-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriawan24%2Fhydration-tracker-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriawan24%2Fhydration-tracker-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andriawan24","download_url":"https://codeload.github.com/andriawan24/hydration-tracker-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriawan24%2Fhydration-tracker-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29363097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","clean-architecture","jetpack-compose","kotlin","work-manager"],"created_at":"2026-02-12T10:26:12.615Z","updated_at":"2026-02-12T10:26:14.072Z","avatar_url":"https://github.com/andriawan24.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Hydration Tracker\n\nThis app is used to track water consumed per day. This app helps remind us about our goals to drink water in a day. We can set our own goals and see histories by date\n## Tech Stack\n\n* **100% Kotlin**, using coroutines for background thread\n* **Splash Screen** API\n* **Jetpack Compose** for UI Components\n* **Work Manager** for automation task scheduler\n* **Room** Database\n* **Dagger hilt** for dependency injection\n* **Navigation components**\n\n## Folder Structures\nThe structure module used follows the guidelines of a clean architecture by dividing it into several folders with the following details\n- data : Used to handle all of the transactions in the application (mainly used to handle database transaction)\n- di : DI stands for Dependency Injection, use to inject class that we will need to use in our application\n- navigation : Used to define navigations in the application\n- theme : Used to define UI properties (color, font, shape, and theme)\n- ui : Handle user interface (divided into components and screens), every screens has subfolder and every subfolder contains at least viewmodel, state, and screen\n- utils : Define helper const and functions\n- worker : Place for Work Manager\n\n## Demonstration\n\n\u003cimg src=\"https://raw.github.com/andriawan24/hydration-tracker/master/screenshots/screen.gif\" width=\"300\" /\u003e\n\n## TODO\n- [x] Create bottom sheet for another options\n- [x] Compose code refactor\n- [ ] Create dynamic options for drinking bottle/glass/cups\n- [ ] User management using firebase\n- [ ] Find best practice for unit testing\n- [ ] Add reminder for user to drink water\n- [ ] Create unit test\n- [ ] Create instrumentation test (unit test first to test business logic)\n\n## How to run the app\n1. Clone this project using ```git clone https://github.com/andriawan24/hydration-tracker```\n2. Open the project using latest android studio\n3. Choose emulator and run the app\n4. Optional for device with low memory like me: Take a deep breath, make an coffee while waiting for the gradle to finished \u003e\u003c\n\n## Contributing\n\nPlease contribute! I'm just getting my hands dirty with Jetpack Compose.\nThere is heavy chance that the code may/may not be correct/holding best practices. I request you to contribute/ raise issues/ send PRs so I can learn too. You can use the Github Discussion to discuss and ask questions. Or you can reach out to me on email fawaznaufal23@gmail.com\n\n## Feedback\n\nIf you have any feedback, please reach out me at fawaznaufal23@gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandriawan24%2Fhydration-tracker-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandriawan24%2Fhydration-tracker-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandriawan24%2Fhydration-tracker-android/lists"}