Healthify - An app to track your daily water intake and sleep and boost your work efficiency. Healthify is built using Kotlin and follows all modern android Development practices and hence is a good learning resource for beginners
Healthify is an app to track your daily water intake and sleep and boost your work efficiency.
This is a small introduction video about healthify https://youtu.be/QiP8NkIqVQs.
To know more about how I build this project, read my article on https://vaibhav2002.hashnode.dev/healthify-an-app-to-track-your-daily-water-intake-and-sleep-and-boost-your-work-efficiency-auth0hackathon
You can Install and test latest Healthify app from below 👇
Open strings.xml and add Auth0 credentials
<!-- add your Auth0 scheme here-->
<string name="scheme"></string>
<!-- add your Auth0 domain name here-->
<string name="domain"></string>
<!-- add your Auth0 client id here-->
<string name="client"></string>
Open Secrets.kt in util package and add your Auth0 credentials
const val CLIENT_ID = "" // add you Auth0 client id here
const val DOMAIN_NAME = "" // add you Auth0 domain name here
It uses Firebase and Auth0 as its backend. It uses Auth0 for email based auth and Google auth and Firebase Firestore as its database.
Healthify offers light as well as dark theme 🌓. So now you can use Healthify in whatever theme you like the most. 🔥
Healthify has a clean and sleek user interface which makes it easy for people of all age groups use it. 😁
Healthify uses Auth0 for authentication. It supports email-based authentication as well as Google authentication. Healthify also has a smooth user onboarding process.
Have a look at your daily water intake and statistics of your water intake in the last week.
Have a look at your daily sleep 😴 amount and statistics of your sleep in the last week.
Healthify has a XP based ranking system which ranks you among other users. XP can be gained by adding water and sleep. Having such ranking system in this app will make users compete and hence make it a habit of users to drink water and get enough sleep
ViewModel
.com.vaibhav.healthify # Root Package
.
├── data # For data handling.
| ├── local # Room DB and its related classes
| ├── remote # Firebase, Auth0 and their relative classes
│ ├── model # Model data classes and mapper classes, both remote and local entities
│ └── repo # Single source of data.
|
├── di # Dependency Injection
│ └── module # DI Modules
|
├── ui # UI/View layer
| ├── adapters # All Adapters, viewholder and diffUtils for recyclerViews
| ├── dialog # All Dialog Fragments and their viewmodels
│ ├── auth # Authorization Activity and its fragments
│ ├── homeScreen # Home Activity and its fragments
| ├── userDetails # User Details Activity and its fragments
| ├── onBoarding # OnboardingScreen
│ └── splashScreen # SplashScreen
|
└── utils # Utility Classes / Kotlin extensions
This app uses MVVM (Model View View-Model) architecture.
If you need any help, you can connect with me.
Visit:- Vaibhav Jaiswal