Giter Site home page Giter Site logo

food_delivery's Introduction

Food Delivery App

Food Delivery app is Mobile Application Built Using flutter sdk To Provide online Food Ordering to Resturants also help users to order there favorites foods online

Application Architecture

alt text

App Has three main layers

Domain Layer

Domain Layer is the core of the application it contains business Logics and interfaces for data layer and presentation layer following the dependency rule.

domain Layer has 4 main components

  • Entities:
    critical business logic data structure such as meal,address,order,meal category
  • Failures:
  • Types of failures
  • Repositories: interfaces of repositories
  • Validators:
    Form fields validators functions returns valitation failure types so that the presentation layer decide the way to present it to user for example show the failure messege in arabic/english language

alt text

Data Layer

Data Layer is Responsable to provide and save data from data sources Data Layer Consist of 3 main components

  • Repositories

the implementation of the repositories interfaces

  • Models

Data models extends entities with functions help mapping data coming from data sources to entities

  • Mappers

another mapping solutaion to help map data to and from entities

alt text

Presentation Layer

Presentation Layer Consist of 7 main components

  • Bloc: the presenter and statemangment solution
  • Helpers: extenstions to help the ui and remove complexity from ui for example translating numbers to arabic
  • Inputs: Form fields Input objects
  • Pages: App Pages
  • Routes: App Routes
  • Styles: App Themes dark/light, App colors
  • Widgets: Common widgets

alt text

food_delivery's People

Contributors

mostafaemara avatar

Watchers

James Cloos 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.