Git Product home page Git Product logo

foodzy_app's Introduction

foodzy

Project to demonstrate different taxonomies related to food and list the collections associated with it

Language used - Flutter(Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-IN)

Architecture - MVVM

State Management - Provider

Folder structure

|-lib   
    |-base
        |- api_response.dart - Enums for API Response statuses
        |- app_exception.dart - Class for defining different ypes of Exceptions to be handled
    |-feature
        |-cart
          |- models
              |- cart_model.dart - Model for items in the cart
          |- view
              |- cart_screen.dart - UI for Cart Screen
          |- viewmodel
              |- cart_view_model.dart - Provider class for Cart related actions
          |- widgets
              |- cart_item_widget.dart - Cart Individual Item Widget
          |-categories
              |- models
                  |- categories_detail_model.dart - Model related to individual items in each Category
                  |- categories_model.dart - Model related to Category List
              |- repository
                  |- categories_repository.dart - Repository for Categories related actions
              |- service
                  |- categories_service.dart - Services handling API Calls and provide the data related to Categories
              |- view
                  |- categories_screen.dart - UI Screen for Categories Listing - Main Screen
                  |- home_base.dart - Creates the Home base for Tab Navigations
              |- viewmodel
                  |- categories_view_model.dart - Categories related Provider containing getters and setters
          |- splash
              |- view
                  |- splash_screen.dart - A simple splash screen appearing at the app initialisation
    |- utils
        |- constants.dart - Constants used across the app
        |- images.dart - Images Singleton Instance
        |- route_strings.dart - Routs Singleton Instance
        |- theme.dart - Theme data used across the app
    |- widgets
        |- button
            |- resizable_button.dart - Customized Button used across the app
        |- dialog
            |- custom_dialog.dart - Customized Model used across the app
    |- app.dart - App Build starts from here and Providers are instantiated
    |-foodzy_app.dart - List of all export statements needs to be exported
    |- main.dart - App Initialisation
|- test
    |- view
        |- categories_screen_test.dart - Widget testing for Categories Screen
    |- viewmodel
        |- cart_view_model_test.dart - Unit Testing for Cart Provider

Commands to Run

flutter run - To run the app
flutter test - To run the test suite
flutter pub get - To get the dependencies declared in pubspec.yaml file

Screenshots

Simulator Screen Shot - iPhone 14 Pro Max - 2022-12-06 at 01 22 31

Simulator Screen Shot - iPhone 14 Pro Max - 2022-12-06 at 01 22 37

Simulator Screen Shot - iPhone 14 Pro Max - 2022-12-06 at 01 22 45

Simulator Screen Shot - iPhone 14 Pro Max - 2022-12-06 at 01 23 00

Simulator Screen Shot - iPhone 14 Pro Max - 2022-12-06 at 01 23 06

foodzy_app's People

Contributors

devanandp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.