The Longevity App is a dynamic web application designed to help users manage their nutrition and fitness goals. By utilizing third-party APIs, this app allows users to calculate their Basal Metabolic Rate (BMR) and Body Mass Index (BMI), set daily calorie limits, and track their dietary intake and physical activity. Users can create personalized meal plans, search for nutritional information, and monitor their caloric balanceβall from one convenient platform.
- BMR and BMI Calculators: Integrated mathematical equations to help users determine their daily caloric needs.
- Nutrition API Integration: Access nutritional and workout information, create recipes, and manage workout sets.
- Caloric Tracking: Users can input their daily calorie intake and calories burned from exercises, with the ability to search for food and workout data via the API.
- Meal Creation: Calculate the total calories of a meal by entering individual ingredients.
- Caloric Summary: The main screen displays consumed calories, burned calories, and remaining calories.
- Reset Functionality: Clear all user-entered data with a single button press.
- Launch the App: Open the index.html file in your browser.
- Calculate BMR and BMI: Enter the required information to receive your BMR and BMI.
- Set Daily Calorie Goals: Select your desired daily calorie limit.
- Track Food Intake: Input calories manually or search for food items using the Nutrition API.
- Add Exercise Calories: Input your workout calories manually or search for them via the API.
- View Summary: Monitor your total calories consumed, burned, and remaining on the main screen.
- Reset Data: Use the reset button to clear all entries and start fresh.
- HTML5
- CSS3
- Bootstrap
- JavaScript
- Nutrition API: For extracting nutritional data and workout information.
Through the Longevity project, I gained valuable insights and skills, including:
- Asynchronous Data Handling: Enhanced my ability to work with asynchronous data, effectively managing API calls to retrieve nutrition and workout information.
- Mathematical Calculations: Improved my skills in implementing mathematical equations to calculate Basal Metabolic Rate (BMR) and Body Mass Index (BMI), providing users with personalized health guidance.
- API Integration: Learned to integrate the Nutrition API, enriching the application with real-time data for calorie tracking and meal planning.
- User Input Validation: Gained experience in validating user inputs to ensure accurate data entry, improving the overall reliability of the application.
- Responsive Design: Developed proficiency in creating a responsive user interface using Tailwind CSS, ensuring a seamless experience across various devices.
This project solidified my understanding of web development and reinforced my passion for building applications that promote healthy living and personal wellness.
You can check out a live demo of the Shopping List ([https://longevitystyle.netlify.app/]).
To set up the Monthly Planner on your local machine:
- Clone this repository:
git clone https://github.com/yourusername/Longevity_App.git
- Navigate to the project directory:
cd Longevity_App3.Open index.html in your preferred web browser to start using the planner.
- If you'd like to contribute to the project, please fork the repository and create a pull request with your proposed changes.
- Feel free to add or modify any sections as you see fit! Let me know if you need any adjustments or additional information.