Code Monkey home page Code Monkey logo

rahul-badgujar / eshopee-flutter-ecommerce-app Goto Github PK

View Code? Open in Web Editor NEW
243.0 243.0 96.0 78.99 MB

This is an eCommerce Application developed using FlutterFire (Flutter+Firebase). I have tried to collect all the basic features of any eCommerce App into this application (illustrations included in repository). It uses Flutter Framework for App Frontend and Backend, and Firebase as server maintaining Databases and Storage requirments of the app. It uses Firebase Authentification, Firebase Cloud Firestore, Firebase Storage. Try out the APK given in Installation section!!!

License: MIT License

Kotlin 0.04% Swift 0.12% Objective-C 0.01% Dart 99.83%
android dart ecommerce ecommerce-application firebase flutter flutter-app flutter-apps flutter-demo flutter-examples flutter-material flutterfire

eshopee-flutter-ecommerce-app's Introduction

Hi ๐Ÿ‘‹, I'm Rahul Badgujar

Software Developer Intern at Tenfins Consulting, Boulder, CO, USA

rahul-badgujar

rahul-badgujar

https://twitter.com/rahul_badgujar_

  • ๐Ÿ”ญ Iโ€™m currently working on Messaging Systems

  • ๐ŸŒฑ Iโ€™m currently learning Dart for Server Side Development

  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on Server Architecture

  • ๐Ÿค Iโ€™m looking for help with Cache Systems

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at https://rahul-badgujar-portfolio.web.app/

  • ๐Ÿ’ฌ Ask me about C++, Flutter, Dart, Firebase

  • ๐Ÿ“ซ How to reach me Ping me on LinkedIn

  • ๐Ÿ“„ Know about my experiences by viewing my resume https://1drv.ms/w/s!AgXR8VUb1SGgiDmom2QPUaHGk1GG

Connect with me:

https://twitter.com/rahul_badgujar_ https://www.linkedin.com/in/rahulbadgujar/ https://stackoverflow.com/users/8210852/rahul-badgujar https://www.kaggle.com/rahulbadgujar https://www.facebook.com/imrahulb3/ https://www.instagram.com/_rahul.badgujar_/ https://www.youtube.com/channel/ucckoj4vbjs9j8sqtps9gumg https://www.codechef.com/users/im_rb7_here https://www.hackerrank.com/imrb7here https://codeforces.com/profile/imrb7here https://leetcode.com/rahul_badgujar/ https://www.hackerearth.com/@imrahulb3

Languages and Tools:

c cplusplus dart firebase flutter git mysql postgresql postman

rahul-badgujar

ย rahul-badgujar

rahul-badgujar

eshopee-flutter-ecommerce-app's People

Contributors

rahul-badgujar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eshopee-flutter-ecommerce-app's Issues

firestore permission error on products collection

Got error on new seller product as following:
[cloud_firestore/permission-denied] The caller does not have permission to execute the specified operation

I tried open all permission, but no use. here is my rules:
match /products/{document=**} {
allow read: if true;
allow create, write, delete: if true;
}

firebase firestore

hi there.
can you please send me screenshots of the firebase. because that will be too much time consuming for me .please please

Likes and comments

Hello there! Really its a good app. But can u add likes and comments system and also user profile view?

FirebaseAuth Phone Authentification causing Errors and Shut's the VM Program

I have Email Password Authentification on Sign in Page of my Application. In Edit Profile Section, I wanted to give User an option to update their Phone Number, and for that, I am using FirebaseAuth.instance.verifyPhone(), but as the execution comes on that line, the Application just get shut down giving a bunch of Errors in Debug Console. Those as as follows:

E/zzf ( 7816): Problem retrieving SafetyNet Token: 7: I/zzjy ( 7816): Provider GmsCore_OpenSSL not available W/System ( 7816): Ignoring header X-Firebase-Locale because its value was null. D/AndroidRuntime( 7816): Shutting down VM E/AndroidRuntime( 7816): FATAL EXCEPTION: main E/AndroidRuntime( 7816): Process: com.example.e_commerce_app_flutter, PID: 7816 E/AndroidRuntime( 7816): java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/browser/customtabs/CustomTabsIntent$Builder; E/AndroidRuntime( 7816): at com.google.firebase.auth.internal.RecaptchaActivity.zza(com.google.firebase:firebase-auth@@20.0.1:13) E/AndroidRuntime( 7816): at com.google.android.gms.internal.firebase-auth-api.zzth.zzb(com.google.firebase:firebase-auth@@20.0.1:7) E/AndroidRuntime( 7816): at com.google.android.gms.internal.firebase-auth-api.zzth.onPostExecute(Unknown Source:2) E/AndroidRuntime( 7816): at android.os.AsyncTask.finish(AsyncTask.java:771) E/AndroidRuntime( 7816): at android.os.AsyncTask.access$900(AsyncTask.java:199) E/AndroidRuntime( 7816): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) E/AndroidRuntime( 7816): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime( 7816): at android.os.Looper.loop(Looper.java:223) E/AndroidRuntime( 7816): at android.app.ActivityThread.main(ActivityThread.java:7656) E/AndroidRuntime( 7816): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 7816): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) E/AndroidRuntime( 7816): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) E/AndroidRuntime( 7816): Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.browser.customtabs.CustomTabsIntent$Builder" on path: DexPathList[[zip file "/data/app/~~FEdP9tQWDC6NWC3shwRRfw==/com.example.e_commerce_app_flutter-ZXUHhzr6Jw4GssFBNZlMtg==/base.apk"],nativeLibraryDirectories=[/data/app/~~FEdP9tQWDC6NWC3shwRRfw==/com.example.e_commerce_app_flutter-ZXUHhzr6Jw4GssFBNZlMtg==/lib/x86, /data/app/~~FEdP9tQWDC6NWC3shwRRfw==/com.example.e_commerce_app_flutter-ZXUHhzr6Jw4GssFBNZlMtg==/base.apk!/lib/x86, /system/lib, /system_ext/lib]] E/AndroidRuntime( 7816): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207) E/AndroidRuntime( 7816): at java.lang.ClassLoader.loadClass(ClassLoader.java:379) E/AndroidRuntime( 7816): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) E/AndroidRuntime( 7816): ... 12 more I/Process ( 7816): Sending signal. PID: 7816 SIG: 9 Lost connection to device.

The corresponding code for updating phone number is:
// TODO: fix implementation update phone service final authService = AuthentificationService().firebaseAuth; print( "Update Phone request for ${authService.currentUser.email} ..."); try { print("Calling verifyPhoneNumber()"); final verificationCompleteCallback = (credential) async { print("Inside verificationCompleted()"); }; final verificationFailedCallback = (exception) { print("Inside verificationFailed()"); if (exception.code == 'invalid-phone-number') { print('The provided phone number is not valid.'); } else { print( "Exception received in verificationFailed: ${exception.code}"); } }; final codeSentCallback = (verificationId, resendToken) async { print( "Inside codeSent() -> verificationId: $verificationId"); PhoneAuthCredential phoneAuthCredential = PhoneAuthProvider.credential( verificationId: verificationId, smsCode: "666666", ); await authService.currentUser .updatePhoneNumber(phoneAuthCredential); }; final codeAutoRetrivalTimeoutCallback = (verificationId) { print( "Inside codeAutoRetrievalTimeout() -> verificationId: $verificationId"); }; authService.verifyPhoneNumber( phoneNumber: fieldController.text, verificationCompleted: verificationCompleteCallback, verificationFailed: verificationFailedCallback, codeSent: codeSentCallback, codeAutoRetrievalTimeout: codeAutoRetrivalTimeoutCallback, ); } catch (e) { print("Exception: $e"); }

Corresponding Code File: https://github.com/imRB7here/e_commerce_app_flutter/blob/master/lib/screens/change_phone/components/body.dart

Fully Complete system

Hi Rahul, I hope you're well
I am currently equipping myself with flutter as well very new to it. So I tried developing ecommerce similar to your app and I came across yours and it really helped me a lot.
There are couple of things if you couple help with then I can and other people looking at your work can learn from it since you are a bit advanced

  1. Add active and inactive for the products to be visible or invisible to users (When a particular product run out of stock) maybe instead of delete, set it to inactive
  2. Group the users into admin and normal users where admin users are only allowed to see add product functionality
  3. Payment gateway (Paystack or flutterewave)
  4. Generate order email for the buyer
  5. Dashboard to manage the orders

can you please help me with this error when running the app

/C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.2+1/lib/src/picture_provider.dart:57:59: Error: No named parameter with the name 'nullOk'.
context != null ? Localizations.localeOf(context, nullOk: true) : null,
^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
static Locale localeOf(BuildContext context) {
^^^^^^^^

app customise

do you also customise the code according to one's requirement

Unable to connect to database

After connecting to my firebase database, I'm able to process authentication, as well as product uploads to the database, but fetching of the data back isn't working and is showing the error Unable to connect to database. Please how can I fix this
Uploading Screenshot_20220716-231148.jpgโ€ฆ

License ?

What the license for this open source code?

Can I take the source, modify it, and sell it? It needs a clear license attached at the root.

Thanks

Compilation error

Please help me fix the error:

/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.2+1/lib/src/picture_provider.dart:57:59: Error: No named parameter with the name 'nullOk'.
        context != null ? Localizations.localeOf(context, nullOk: true) : null,
                                                          ^^^^^^
/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
  static Locale localeOf(BuildContext context) {
                ^^^^^^^^
Failed to package /Users/Vinay/Downloads/EShopee-Flutter-eCommerce-App-main/EShopee-Flutter-eCommerce-App-main.
Command PhaseScriptExecution failed with a nonzero exit code


Showing Recent Messages
/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.2+1/lib/src/picture_provider.dart:57:59: Error: No named parameter with the name 'nullOk'.

        context != null ? Localizations.localeOf(context, nullOk: true) : null,

                                                          ^^^^^^

/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.

  static Locale localeOf(BuildContext context) {

                ^^^^^^^^

Failed to package /Users/Vinay/Downloads/EShopee-Flutter-eCommerce-App-main/EShopee-Flutter-eCommerce-App-main.

Command PhaseScriptExecution failed with a nonzero exit code


Thanks a lot in advance.

Errors launching...

Here's the error code :

Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
Xcode build done.                                           20,3s
Failed to build iOS app
Error output from Xcode build:
โ†ณ
    ** BUILD FAILED **


Xcode's output:
โ†ณ
    /Users/mia/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pinch_zoom_image_updated-0.2.6/ios/Classes/SwiftPinchZoomImagePlugin.swift:13:55: error: cannot find 'UIWindowLevelstatusBar' in scope
            UIApplication.shared.keyWindow?.windowLevel = UIWindowLevelstatusBar
                                                          ^~~~~~~~~~~~~~~~~~~~~~
    /Users/mia/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pinch_zoom_image_updated-0.2.6/ios/Classes/SwiftPinchZoomImagePlugin.swift:16:55: error: cannot find 'UIWindowLevelnormal' in scope
            UIApplication.shared.keyWindow?.windowLevel = UIWindowLevelnormal
                                                          ^~~~~~~~~~~~~~~~~~~
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11.

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.