Giter VIP home page Giter VIP logo

shahad-999 / foodu Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 2.0 2.92 MB

Foodu is a Flutter-based food delivery app created for learning purposes. It features Explore a variety of food and restaurants. The app is built using Clean Architecture and , uses Use Cases , Dio and Get state mangement to manage the application state .

Kotlin 0.04% Swift 0.48% Objective-C 0.01% Dart 86.47% CMake 5.45% C++ 6.60% C 0.41% HTML 0.53%
flutter clean-architecture clean-code dio food-delivery rest-api resturant-app getx state-management dart

foodu's Introduction

Foodu Application

“Feast your eyes, then satisfy your cravings. Order now, indulge late”

This is a Flutter app that transforms food delivery. Explore, order, and savor restaurant delights from your home

6

Video

Watch On Youtube

Dependencies/Tools :

  • get_it : Simple Service Locator for Dart and Flutter projects.
  • get : A package that simplifies dependency injection in Dart and Flutter.
  • dartz : Functional programming in Dart, including Option, Either, and more.
  • dio : A powerful HTTP client for Dart, providing features like interceptors, FormData, and more.
  • cached_network_image : A Flutter package for caching and displaying images from the network.
  • Repository Pattern: Implementation of the repository pattern for managing data access and separation of concerns in Flutter applications.
  • Clean Architecture:Clean Architecture promotes modular, testable, and maintainable code through the separation of concerns and independent layers of abstraction.

Features :

  • Explore a wide variety of food and restaurants.
  • Search for specific cuisines, dishes, or restaurants.
  • View detailed information about restaurants, including menus, reviews, and ratings.
  • Track the status of food orders in real-time.
  • Provide feedback and ratings for restaurants and delivery services.
  • Discover new restaurants and trending food options.
  • Access additional features such as discounts.
  • User-friendly interface for a smooth and intuitive food ordering process.

FoodU API

The FoodU API provides endpoints for exploring food categories, managing the cart, retrieving meal details, updating the profile, and interacting with restaurants. It allows users to browse meals, add them to the cart, place orders, and manage their profile information.

Endpoints

Explore

  • GET /categories: Retrieves all food categories.
  • GET /recommended: Retrieves a list of recommended meals.
  • GET /discount: Retrieves a list of meals with discount offers.
  • GET /category/{category_id}: Retrieves meals belonging to a specific category.
  • GET /search/{keyword}: Searches meals by keyword.
  • GET /specialOffer: Retrieves a list of meals with special offers.

Cart

  • GET /cart: Retrieves the items in the cart.
  • GET /orderSummary/{order_id}: Retrieves the summary of an order.
  • GET /orders/cancelled: Retrieves a list of cancelled orders.
  • GET /orders/completed: Retrieves a list of completed orders.
  • GET /orders/active: Retrieves a list of active orders.
  • POST /sentOrder: Adds a new order to the cart.
  • POST /cancelOrder: Cancels an order.
  • POST /orderReview: Submits a review for an order.
  • POST /rating/{type}: Submits a rating for an order.

Meal

  • GET /meal/{meal_id}: Retrieves details of a meal.
  • POST /addToCart: Adds a meal to the cart.

Profile

  • GET /profile: Retrieves the profile details.
  • POST /profile/update: Updates the profile details.
  • GET /address: Retrieves the address details.

Restaurant

  • GET /restaurant/{restaurantId}: Retrieves details of a restaurant.
  • GET /menus/{restaurantId}: Retrieves the menus of a restaurant.

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.