Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Submission Details
Flutter Firebase Goodies Shopping App
Welcome to the Flutter Firebase Goodies Shopping App! This app showcases an exciting e-commerce platform built using Flutter and Firebase, with multiple user flows: Guest, Buyer, Seller, and Admin. Follow the instructions below to set up the project and explore its features.
Getting Started
1. Add the Android Folder
In your main project directory, you can directly create the
android
folder by running:flutter create .
2. Firebase Setup
To use Firebase features in your app, you need to configure Firebase by following one of these options:
Add
firebase.json
file: Download thefirebase.json
configuration file from the Firebase console and place it in the root directory of your project or Use Firebase Cli and configure accordingly.Use Firebase Emulator: To set up the Firebase Emulator for local testing:
Install the Firebase CLI if you haven't already:
Initialize Firebase in your project:
Start the Firebase Emulator:
This must start the firebase emulator with such visbile output:
The emulator allows you to simulate Firebase services locally, such as Firestore, Authentication, and more.
User Flows
The app includes four distinct user flows:
Guest Flow :
Guest Flow Step 1
Guest Flow Step 2
Guest Flow Step 3
Guest Flow Step 4
Buyer Flow :
Result
Seller Flow :
Admin Flow :
Optional: Use Your Data or Start Fresh
To run the app with your data using the Firebase Emulator, or to set up a fresh Firebase project:
Option A: Use Emulator with Your Data
./emulator-data
directory to be loaded by the emulator.Option B: Set Up a Fresh Firebase Project
google-services.json
file and place it in theandroid/app
directory.