A food Delivery App developed in flutter, This app has 3 components
- Seller App
- User App
- Admin Web App
This is the first Project of food delivery app which is Seller App.
Seller App:
- The Seller will login through email and password.
- The form(text fields) are validated before submitting to backend.
- In case of any error or not validated a dialog box will open with that error to alert ⚠ the user about the same.
- Once all validation pass, the app will upload the image and required name,email,password etc, to firestore database,
- The seller is uniquely stored in the database with their unique UID.
- While registering the user, I have also used SharedPrefrence library to store the data locally,
- The main feature of storing the data locally is to reduce the time as well as complexity of the code as always for anything, I have to fetch from firestore.
- Sellers can log in via email and password that will be checked from firebase auth,
Learning Objectives:
- I got familiar and get more experience in using Firebase auth,Firestore Database.
- I got many ideas of designing UI, that will be more interactive to Seller.
- Designing Custom TextField in seprate file and using that many time by importing that library and many such library as a part of cleaning and maintaing bug free code.
- Designing Topology.
- SharedPrefrences Library by Saving the data locally as to reduce the time of signing in( Seller app took only 2sec for signing in ).
Libraries Used:
- Image Picker : Seller will upload their Restaurant Image while Registering from gallery.
- geolocator: For Acessing the Location of Restaurant.
- geocoding : For Converting Coordinates into readable address.
- firebase_core: Used for connecting my Seller app to its Firebase project.
- firebase_auth : Used for authenticating Sellers by their Email and Password.
- cloud_firestore : Used for storing & syncing data of Sellers.
- firebase_storage: This is used to store Sellers Images, thier foods image.
- shared_preferences: Used to Save the Sellers data Locally.