VitaFit is a modern Android fitness tracking application built with Java, Firebase, and Firebase AI Logic. It brings workout logging, progress analytics, reminders, profile management, and several AI-assisted wellness tools together in one mobile application.
VitaFit provides general fitness and wellness guidance. It is not a substitute for professional medical advice.
- Secure email/password authentication with email verification
- Personalized dashboard with workout summaries
- Add, search, review, and delete workout records
- Fitness statistics and progress visualization
- Export workout history as PDF or CSV
- Share generated workout reports
- Workout reminders with reboot restoration
- Light and dark themes
- Responsive bottom navigation and navigation drawer
- Firebase App Check integration using Play Integrity
VitaFit groups its AI tools inside a single assistant hub:
- Smart Recommendation – profile-aware general fitness suggestions
- AI Coach Chat – conversational guidance based on saved profile and activity
- Balanced Diet Planner – balanced meal suggestions using user preferences
- AI Workout Planner – structured workout suggestions based on selected preferences
- AI Progress Analyzer – reviews saved workout activity and consistency
AI responses are formatted for clear mobile reading and include safety-focused instructions for balanced, age-appropriate guidance.
| Area | Technology |
|---|---|
| Language | Java 17 |
| Platform | Android SDK |
| UI | XML, Material Components, ConstraintLayout, RecyclerView |
| Authentication | Firebase Authentication |
| Database | Firebase Realtime Database |
| Generative AI | Firebase AI Logic |
| App protection | Firebase App Check with Play Integrity |
| Charts | MPAndroidChart |
| Async utilities | Guava ListenableFuture |
| Build system | Gradle Kotlin DSL |
- Android Studio
- JDK 17
- Android device or emulator running Android 7.0 (API 24) or later
- A Firebase project
- Internet connection for Firebase and AI features
-
Clone the repository:
git clone https://github.com/Ashutosh9-pan/VitaFit-AI-Fitness-Tracker.git
-
Open the project in Android Studio.
-
Create or select a Firebase project and register an Android app with this package name:
com.ashutosh.codealpha_fitnesstrackerapp -
Download your Firebase
google-services.jsonfile and place it inside the localapp/directory. -
Enable the required Firebase services:
- Email/Password Authentication
- Realtime Database
- Firebase AI Logic
- App Check for production builds
-
Sync the Gradle files and run the application.
Sensitive and machine-specific files are intentionally excluded from this repository, including:
- Signing keystores
- Keystore credentials
local.propertiesgoogle-services.json- Generated APK and App Bundle files
Never commit signing passwords, private keys, debug App Check tokens, or other credentials.
app/src/main/
├── java/ # Activities, adapters, Firebase logic, AI integration
├── res/ # Layouts, menus, drawables, themes, and strings
└── AndroidManifest.xml
screenshots/ # Application screenshots used in this README
Ashutosh Panwar
- GitHub: @Ashutosh9-pan
- Firebase Authentication and Realtime Database
- Firebase AI Logic
- Firebase App Check and Google Play Integrity
- Android Material Components
- MPAndroidChart