Coder Social home page Coder Social logo

akshay0701 / food_delivery_app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.13 MB

A Food App using Flutter & Firebase.

License: GNU General Public License v3.0

Kotlin 0.30% Swift 0.35% Objective-C 0.03% Dart 75.91% HTML 0.88% CMake 6.35% C++ 14.35% C 0.74% Ruby 1.09%
mockups flutter android-application food-delivery-application food app firebase firebase-auth delivery hacktoberfest hacktoberfest2021 dart

food_delivery_app's Introduction

Food Delivery App

This is a food ordering & delivery application built with a flutter framework and firebase real-time database. Anyone can use this code for their own purpose. If you are interested please make your contribution to the code.

release commit-activity forks stars contributors build license

Application features

  • Simple UI for food delivery app's

  • Use SQLite to store order data in a local database

  • Used firebase real-time database for syncing data to server-side

  • Can add one or more food in the cart section

  • Automatically total bill will generate.

  • Search different food/types

  • View previous ordered food's from your account

  • Google/mail auth login integrated

Home Screen & Loading Screen

------

Profile Screen

------

Firebase Database

Built With 🎯

A lot of love and Flutter

Contributing

Make Pull requests which improve the functionality of the application in any sorts. It should conform with the following conditions.

  • Clear , short , crisp description of the PR.
  • Should add on to the value of the application.

Acknowledgments 💖

  • To the community of computer science 💻.

food_delivery_app's People

Contributors

akshay0701 avatar athulacaj avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kelvin-ldk

food_delivery_app's Issues

Json of the database

I've downloaded the project, however I don't know how to structure it correctly, the Dart classes don't help much. I would like you to share an example of the Database so we could start developing from there.

asds

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise asdescription of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

A firebase database demo

I wanted to test this project, by running it, I created my own firebase project, enabled auth, realtime database and firestore.
But the most important is what type of data should I fill my database with ?
Isn't there any data demo to import and try running this project with?

[Bug] button size gets large in landscape mode

Reproduction Steps
  1. open home
  2. open food detail page
  3. turn phone to landscape mode

Landscape Screenshot

b3a539fb-7c38-41a6-8b40-17dc70541bc0

Portrait Screenshot

20e98e4e-711d-4545-af14-0913fa4b146d

Expected Result

size of button in portrait and landscape should be same

Actual Result

height gets large in landscape mode as compare to portrait mode

Debug info

Refer to the support page if you are unsure where to get the "debug info".

Research

Enter an [x] character to confirm the points below:

  • I am reporting a bug or enhancement request specific to food_delivery_app
  • I have checked the https://github.com/Akshay0701/food_delivery_app and could not find a solution to my issue
  • I have searched for similar existing issues here and on the user forum
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

[Bug] User is not able to scroll the page till bottom

Reproduction Steps
  1. open home
  2. open myorder
  3. try to scroll the page

Recording

20211001_182056

Expected Result

user should be able to scroll through the page

Actual Result

user is not able to scroll the page till bottom

Debug info

Refer to the support page if you are unsure where to get the "debug info".

Research

Enter an [x] character to confirm the points below:

  • I am reporting a bug or enhancement request specific to food_delivery_app
  • I have checked the https://github.com/Akshay0701/food_delivery_app and could not find a solution to my issue
  • I have searched for similar existing issues here and on the user forum
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

Added Google Json File and removed some errors

Reproduction Steps
Expected Result
Actual Result
Debug info

Refer to the support page if you are unsure where to get the "debug info".

Research

Enter an [x] character to confirm the points below:

  • I am reporting a bug or enhancement request specific to food_delivery_app
  • I have checked the https://github.com/Akshay0701/food_delivery_app and could not find a solution to my issue
  • I have searched for similar existing issues here and on the user forum
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

Is there any guidelines how to develop ?any youtube tutorial or other source?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

[Bug]

Reproduction Steps
Expected Result
Actual Result
Debug info

Refer to the support page if you are unsure where to get the "debug info".

Research

Enter an [x] character to confirm the points below:

  • I am reporting a bug or enhancement request specific to food_delivery_app
  • I have checked the https://github.com/Akshay0701/food_delivery_app and could not find a solution to my issue
  • I have searched for similar existing issues here and on the user forum
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

Setup Instruction

Hi,

Is there any document to set up this project in the local ith firebase dataset. Anyway, can we export the dataset from firebase.
Thanks in advance.

Execution failed for task ':app:compileFlutterBuildDebug'.

i am able to run flutter app in chrome but when i tried to run it in my phone it shows me this :-

i also attached flutter doc in bottom

Running Gradle task 'assembleDebug'...

Compiler message:
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html'
import 'dart:html';
^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/js-0.6.2/lib/js.dart:8:1: Error: Not found: 'dart:js'
export 'dart:js' show allowInterop, allowInteropCaptureThis;
^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/js-0.6.2/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
export 'dart:js_util';
^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart:306:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.

  • 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
    ^^^^^^^^^^^^
    /C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
  • 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var errorWrapper = allowInterop((e) => _changeController.addError(e));
    ^^^^^^^^^^^^
    /C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart:340:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
  • 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
    ^^^^^^^^^^^^
    /C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart:345:11: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
  • 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/auth.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    allowInterop((e) => _idTokenChangedController.addError(e));
    ^^^^^^^^^^^^

/E:/flutter/flutter/packages/flutter_web_plugins/lib/src/plugin_registry.dart:29:5: Error: Method not found: 'webOnlySetPluginHandler'.
ui.webOnlySetPluginHandler(_binaryMessenger.handlePlatformMessage);
^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/utils.dart:29:7: Error: Method not found: 'hasProperty'.
if (util.hasProperty(jsObject, 'firestore') &&
^^^^^^^^^^^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/utils.dart:30:7: Error: Method not found: 'hasProperty'.
util.hasProperty(jsObject, 'id') &&
^^^^^^^^^^^
dartlang.org/firebase-7.3.0/lib/src/utils.dart:53:7: Error: Method not found: 'hasProperty'.
util.hasProperty(proto, 'toBase64')) {
^^^^^^^^^^^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/utils.dart:67:24: Error: Method not found: 'getProperty'.
map[key] = dartify(util.getProperty(jsObject, key));
^^^^^^^^^^^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/utils.dart:91:17: Error: Method not found: 'newObject'.
var jsMap = util.newObject();
^^^^^^^^^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/utils.dart:93:7: Error: Method not found: 'setProperty'.
util.setProperty(jsMap, key, jsify(value));
^^^^^^^^^^^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/utils.dart:116:12: Error: Method not found: 'allowInterop'.
return allowInterop(dartObject);
^^^^^^^^^^^^
/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase-7.3.0/lib/src/utils.dart:124:5: Error: Method not found: 'callMethod'.

Run 'flutter -h' (or 'flutter -h') for available flutter commands and options.

FAILURE: Build failed with an exception.

  • Where:
    Script 'E:\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 896

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'E:\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 64

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 26s
Picked up _JAVA_OPTIONS: -Xmx512M
Exception: Gradle task assembleDebug failed with exit code 1

flutter doctor -v here

E:\flutterproject\sample projects for study\flutter_web>flutter doctor -v
[√] Flutter (Channel beta, v1.17.0, on Microsoft Windows [Version 10.0.17134.1488], locale en-US)
• Flutter version 1.17.0 at E:\flutter\flutter
• Framework revision d3ed9ec945 (3 months ago), 2020-04-06 14:07:34 -0700
• Engine revision ef9215ceb2
• Dart version 2.9.0 (build 2.9.0-8.2.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\ADMIN\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.46.1)
• VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.12.1

[√] Connected device (3 available)
• GM1911 • dab8456c • android-arm64 • Android 10 (API 29)
• Chrome • chrome • web-javascript • Google Chrome 83.0.4103.116
• Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

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.