Skip to content

Repository files navigation

💪 Fitness – Production-Ready Health Tracker App

Fitness is a market-ready Health & Activity Tracker Android application built using Kotlin, Jetpack Compose, Firebase, Google Fit, and MVVM Architecture.

This project demonstrates how real-world Android apps are designed and built from scratch using modern architecture, scalable code structure, and premium UI design.


Demo App

Perfect for: • Beginners
• College students
• Android developers
• Anyone who wants to understand production-level coding


✨ Highlights

📱 Market-Ready Health Tracker App (Jetpack Compose)
💧 Water Tracking — Daily intake, goals, quick add + custom add
👣 Steps Tracking — Progress stats, streaks & daily goals
😴 Sleep Tracking — Sleep hours monitoring + insights
🏃‍♂️ Running Tracker (Google Maps) — Real-time route tracking + dashed polyline
📍 Live GPS Tracking — Pace, distance, duration, live stats
📊 Reports & Analytics — Weekly/monthly trends, averages, streaks + charts
📤 CSV / Excel Export — Export water, steps, sleep & run history
🔔 Smart Notifications — Reminders for water, sleep, workouts & goals
🎧 Meditation & Sleep Sounds — Rain, Ocean, Forest, White Noise + timer
🎨 Themes & Accessibility — Light/Dark + High Contrast mode
🔐 Firebase Authentication — Login/Signup with validation + animations
🧠 Google Fit Integration — Sync steps/distance/heart rate
📡 Offline-First System — Room database for smooth offline experience
🏗️ Modern Architecture — MVVM + Hilt + Coroutines + Flow
💎 Premium UI Design — Clean, modern & production-style interface


🏗 Tech Stack

  • Kotlin
  • Jetpack Compose
  • MVVM Architecture
  • Hilt (Dependency Injection)
  • Coroutines & Flow
  • Room Database (Offline-first)
  • Firebase Authentication
  • Firebase Firestore
  • Google Fit API
  • Google Maps SDK
  • CSV / Excel Export
  • Material 3 Design

🧠 Architecture Overview

This project follows Modern Android Architecture:

  • MVVM Pattern
  • Repository Layer
  • Clean UI-State management
  • Dependency Injection with Hilt
  • Reactive programming using Flow
  • Offline-first system using Room

This ensures: ✔ Scalability
✔ Maintainability
✔ Production-level code structure


📱 Core Modules

💧 Water Tracking

  • Daily intake goals
  • Quick add & custom input
  • Progress indicators

👣 Steps Tracking

  • Google Fit sync
  • Streak tracking
  • Goal-based progress

😴 Sleep Monitoring

  • Sleep hours logging
  • Insights & trends

🏃 Running Tracker

  • Real-time GPS tracking
  • Route drawing with polyline
  • Pace, distance, and duration stats

📊 Reports & Analytics

  • Weekly & monthly trends
  • Category-based charts
  • Data export (CSV/Excel)

🔐 Authentication

  • Firebase Email/Password Login
  • Secure validation
  • Persistent sessions

📂 Project Structure

com.fitnessapp │ ├── ui ├── viewmodel ├── repository ├── model ├── data ├── di ├── utils


⚙ Setup Instructions

1. Clone the repository
2. Open in Android Studio
3. Connect Firebase project
4. Enable:
   - Authentication
   - Firestore
5. Configure Google Fit API
6. Add your API keys
7. Run the project 🚀

🎯 Learning Outcomes

By completing this project, you will learn:

• How to build production-ready Android apps
• Jetpack Compose UI design
• Google Fit API integration
• Real-time GPS tracking
• Offline-first architecture
• Dependency Injection using Hilt
• Advanced state management


🚀 Full Tutorial

This project is part of a 10+ hour complete build tutorial covering: • UI Design
• Architecture Setup
• Backend Integration
• Production Deployment


🤝 Contributing

Contributions are welcome to improve features and performance.


⭐ Support

If you found this project helpful, please give it a star ⭐


About

Production-ready Health Tracker Android App built with Kotlin, Jetpack Compose, Firebase, Google Fit, and modern MVVM architecture featuring activity tracking, analytics, and offline-first system.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages