Welcome to the FitHeal mobile app repository. FitHeal is a health and fitness platform designed to help users track their workouts, monitor their diet, and achieve their fitness goals, all from the convenience of their mobile devices.
This repository contains the Flutter code for the FitHeal mobile application. The mobile app provides users with an intuitive interface to manage their fitness activities, track progress, and stay motivated on their health journey.
- User Authentication: Secure sign-up and login using MongoDB Authentication.
- Exercise Management: Create, update, delete, and view workout routines.
- Meal plans management: View nutritional information, and track diet progress.
- Cross-Platform: Runs seamlessly on both Android and iOS devices.
- Flutter - Cross-platform mobile framework by Google.
- Dart - Programming language used with Flutter.
- MongoDB - Backend services for authentication, real-time database.
- Provider - State management for Flutter apps.
- Hive - Lightweight and fast NoSQL database for local storage.
To set up and run the FitHeal mobile app locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/fitheal-flutter.git cd fitheal-flutter
-
Install dependencies:
flutter pub get
-
Set up the environment variables:
- Create a
.env
file in the root directory of the project. - Add the following environment variables:
FIREBASE_API_KEY=your-firebase-api-key FIREBASE_AUTH_DOMAIN=your-firebase-auth-domain FIREBASE_PROJECT_ID=your-firebase-project-id FIREBASE_STORAGE_BUCKET=your-firebase-storage-bucket FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id FIREBASE_APP_ID=your-firebase-app-id
- Create a
-
Run the app:
flutter run
The app should now be running on your connected device or emulator.
- Dashboard Screen: Overview of all the exercises and meal plans available.
- Exercises Screen: Manage and view workouts.
- Meal Plans Screen: View nutritional breakdown and recipies.
- Profile Screen: View and update user profile