Skip to content

Cisco0xf/CalorieGoal-App

Repository files navigation

CalorieGoal

Calorie tracking app with goal-based validation system.

playstore

CalorieGoal | By Mahmoud Alshehyby

Features

  • Personal calorie calculator (age, weight, height, gender)
  • Browse meals from JSON database
  • Add items with custom quantities
  • Real-time calorie tracking
  • Goal validation (unlock cart when target reached)
  • API endpoint integration

Tech Stack

  • Flutter
  • JSON parsing
  • REST API
  • Riverpod for State management

Code Structure

CalorieGoal/
│
└── lib/
    ├── commoms/
    │   ├── app_dimensions.dart
    │   ├── commons.dart
    │   ├── gaps.dart
    │   └── navigator_key.dart
    │
    ├── constants/
    │   ├── colors.dart
    │   ├── fonts.dart
    │   ├── paths.dart
    │   └── texts.dart
    │
    ├── data_layer/
    │   └── product_model.dart
    │
    ├── presentation_layer/
    │   ├── commons/
    │   │
    │   └── screens/
    │       ├── categories/
    │       │   ├── bottom_data.dart
    │       │   ├── food_item_screen.dart
    │       │   └── products_screen.dart
    │       │
    │       ├── order_summary/
    │       │   ├── cart_screen.dart
    │       │   └── finish_order.dart
    │       │
    │       ├── user_details/
    │       │   ├── commons/
    │       │   │   ├── details_field.dart
    │       │   │   └── select_gender.dart
    │       │   └── user_details_screen.dart
    │       │
    │       └── welcome_screen/
    │           └── welcome_screen.dart
    │
    ├── state_management_layer/
    │   ├── catch_data/
    │   │   └── catch_json_data.dart
    │   │
    │   ├── manage_user_details/
    │   │   ├── user_details.dart
    │   │   └── user_gender.dart
    │   │
    │   └── order_summary/
    │       ├── cart.dart
    │       └── post_confirmation.dart
    │
    └── main.dart

Screenshots

Screen-1 Screen-2 Screen-3
Screen Screen Screen
Screen-4 Screen-5 Screen-6
Screen Screen Screen

License

MIT © Mahmoud Nagy