FitPro is a mobile application designed to help users maintain their physical and mental well-being. The app features four main components that focus on fitness tracking, mood tracking, nutrition, and personalized wellness plans. This project was developed by four team members as part of a university project, with a special emphasis on providing a comprehensive health management solution.
The Mental Fitness tracking is developed by Iresh Eranga. It helps users manage their dietary needs by providing tools for:
- Suggest Mental Fitness Goals: According to user preferences suggest goals to the user and user can select that goals.
- Progress Tracking: Users can track their progress of activities they doing.
- Premium Goal Suggestion: Premium users can view more goals according to their health condition.
The Nutrition Tracker is a key feature of the app, developed by Shenori-Weerakoon. It helps users manage their dietary needs by providing tools for:
- Calorie Calculator: Users can calculate the calories for food items and track their daily intake.
- Set and Calculate Calorie Goals: Users can set personal calorie goals and calculate them based on factors like age, weight, height, and activity level.
- Food Search and Logging: Users can search for food items, log them into their food diary, and track their nutritional intake.
- Calorie Goal Tracking: Automatically calculates consumed calories as users add food items and compares them to their set goals.
- Premium Meal Recipe Generator: Premium users can generate personalized meal plans based on dietary needs and goals.
- Fitness Tracker: Track daily exercise, calories burned, and set fitness goals.
- Mood Tracking & Journaling: Log daily moods and keep a journal for mental well-being.
- Personalized Wellness Plans: Receive tailored fitness and wellness suggestions based on user input and goals.
- Premium Features: Access exclusive meal recipes and advanced fitness tracking tools with a premium subscription.
- Frontend: React Native (with Expo)
- Backend: Node.js (Express)
- Database: MongoDB
- APIs:
- USDA Food Data Central Food search API
- Spoonacular API for recipe generation.
- Clone the repository:
git clone https://github.com/yourusername/fitpro-app.git
- Navigate to the project directory:
cd fitpro-app
- Install dependencies:
In the root directory, run:
npm install
Navigate to the frontend folder and install client-side dependencies:
cd frontend npm install
- Configure environment variables:
Create a
.env
file in the root directory with the following keys:API_KEY=your_edamam_api_key SPOONACULAR_API_KEY=your_spoonacular_api_key MONGODB_URI=your_mongodb_connection_string
Replace
your_edamam_api_key
,your_spoonacular_api_key
, andyour_mongodb_connection_string
with actual credentials. - Run the application:
In the backend root directory:
npm start
In the frontend directory, start the app:
npx expo start
- Testing the app:
Scan the QR code with the Expo Go app on your phone to run the app.
FitPro offers premium features, such as a meal recipe generator, accessible through subscription. Users with a premium account can enjoy curated meal plans based on their dietary preferences and fitness goals.
- Fork the repository.
- Create a new branch.
- Commit changes and create a pull request.
This project is licensed under the MIT License.