• Home
  • Product
        • Foodie
          • Documentation
          • Workflow
        • Gromart
          • Documentation
          • Workflow
        • eMart
          • Documentation
          • Workflow
        • Cabme
          • Documentation
          • Workflow
        • Quickl
          • Documentation
        • Go Ride
          • Documentation
          • Workflow
        • QuickoAI
          • Documentation
          • Quicko AI Workflow
        • Park Me
          • Documentation
          • Workflow
        • FLEXUI
          • Documentation
        • ScanEat
          • Documentation
        • eBasket
          • App Documentation
          • Web Documentation
        • Poolmate
          • App Documentation
          • Web Documentation
          • Workflow
        • Park Me Pro
          • Documentation
          • Workflow
  • Contact Us
  • Create A support ticket
  • Home
  • Product
        • Foodie
          • Documentation
          • Workflow
        • Gromart
          • Documentation
          • Workflow
        • eMart
          • Documentation
          • Workflow
        • Cabme
          • Documentation
          • Workflow
        • Quickl
          • Documentation
        • Go Ride
          • Documentation
          • Workflow
        • QuickoAI
          • Documentation
          • Quicko AI Workflow
        • Park Me
          • Documentation
          • Workflow
        • FLEXUI
          • Documentation
        • ScanEat
          • Documentation
        • eBasket
          • App Documentation
          • Web Documentation
        • Poolmate
          • App Documentation
          • Web Documentation
          • Workflow
        • Park Me Pro
          • Documentation
          • Workflow
  • Contact Us
  • Create A support ticket
  • App Documentation
    • Link Firebase acc. & Push Notifications
      • Push Notifications
        • Facebook Setup
    • App Setup
    • Setup with firebase
    • Run on iOS and Android
      • Android
      • iOS
  • Web Documentation
    • Web Setup
    • Php Laravel Admin Panel
      • Upload on Server
      • Create Database
      • Admin Panel Installation
    • Website
      • Upload on Server
    • Restaurant Panel
      • Upload on Server
    • Firebase
  • Order Tracking & Delivery Dispatching
    • Deploy Firebase Functions
  • Foodie Firestore Database Collection Import Export
  • Demo User Authentication Import
  • Foodie POS Web
  • Foodie POS App

App Documentation#

Please follow the steps mentioned on the left side bar for easy setup

Introduction

Foodie is a revolutionary food delivery app designed to bring a variety of delicious cuisines from multiple restaurants straight to your doorstep. Built with Laravel & Flutter. Foodie offers a seamless and intuitive user experience, making it easier than ever to discover, order, and enjoy your favorite meals from local eateries.

Key Features:

1. Wide Selection of Restaurants: Explore a vast array of restaurants, from local favorites to popular chains, all available at your fingertips.

2. User-Friendly Interface: Enjoy a sleek and intuitive design that makes browsing menus, placing orders, and tracking deliveries effortless.

3. Real-Time Order Tracking: Stay updated with real-time tracking of your order from preparation to delivery, ensuring you know exactly when your food will arrive.

4. Customizable Orders: Personalize your meals with special instructions and dietary preferences to suit your taste and dietary needs.

5. Secure Payment Options: Choose from multiple secure payment methods, including credit/debit cards, digital wallets, and cash on delivery.

6. Exclusive Deals and Discounts: Take advantage of exclusive offers, promotions, and discounts available only through the Foodie app.

7. Easy Reordering: Quickly reorder your favorite meals with just a few taps, thanks to a user-friendly reorder feature.

8. Ratings and Reviews: Make informed decisions with access to detailed ratings and reviews from other Foodie users.

9. 24/7 Customer Support: Receive dedicated support anytime you need assistance, ensuring a smooth and satisfying food delivery experience.

10. Multi-Platform Accessibility: Enjoy Foodie on both Android and iOS devices, with a consistent and optimized performance across platforms.

Why Choose Foodie?

Foodie stands out as a top-tier food delivery app by combining an extensive restaurant selection with a user-centric design, reliable delivery service, and secure payment options. Whether you’re craving a gourmet meal, a quick bite, or something in between, Foodie makes it easy to satisfy your hunger with convenience and style.

Link Firebase acc. & Push Notifications#

Firebase Integration

a) Create a Firebase Account

Create a Firebase account and then gain access to your own Firebase Console. A Firebase account can host multiple Firebase Projects that can host multiple mobile apps.

b) Configure a Firebase Project

Create a mobile app project in Firebase for each app that you are planning to publish. If you are publishing to both iOS and Android, you will need to create separate apps in Firebase, since technically they are different apps.

If you want your Flutter app to run on both iOS and Android, then you need to create a different mobile app for each (in Firebase). Simply click on the “Add App” button.

After you select the platform (iOS or Android), you need to provide the app’s identifier. Depending on which Flutter template you’ve purchased. Find the correct identifier in the files you’ve downloaded

for Android, go to android/app/build.gradle and get the applicationId

for iOS, open the app in Xcode and locate the Bundle ID field in the project’s configuration

Once you have the bundle ID, just use it in Firebase, add your sha1 or sha256 key (For Mobile verification) and create the app.

Note:

Before you submit your app to the App Store or Google Play, you’ll need to update these bundle identifiers with your unique identifiers, since the app stores don’t allow duplicate application ids.

c) Enable Firebase Authentication

To enable Firebase Authentication, go to Firebase Console -> Authentication -> Sign-in Methods and enable the methods that you are going to support in your app. By default, our Flutter apps have integration with Email/Password, Phone, and Facebook.

For Facebook log-in, you’ll also need your Facebook App ID. You can add that later when you set up Facebook.

d) Enable Firebase Firestore

To allow the mobile app to read and write data to/from Firebase Firestore, set up the correct access permissions. To do that, just head over to Database -> Cloud Firestore and set the Rules for writes and reads to the public.

service cloud.firestore
{match/databases/}database},/documents {match/{document=**}, {allow read, write: if true;}, }, },
e) Enable Firebase Storage

If your mobile app needs access to Firebase Storage (e.g. for uploading photos and videos, for instance), you have to enable Firebase Storage, so that the functionality works properly. To enable it, just go to Storage in the left menu.

service cloud.firestore    
{service firebase.storage {match /b/{bucket}/o {match /{allPaths=**} {allow read, write: if request.auth != null; } } }
f) Link Firebase Account to Your Mobile App

Once you’ve created the app, Firebase will generate a configuration file name(for android google-service.json and for ios GoogleService-Info.plist). You have to add this file to your Flutter app. This is how the Flutter app can use your own Firebase backend. To do that, just download the configuration file and replace the existing mock files:

iOS: Download the GoogleService-Info-plist file and override the
existing ios/NameOfApp/GoogleService-Info.plist file.

Android: Download the google-service.json file and replace the
existing android/app/google-service.json file.

Add those files in all three apps as mentioned.

If you already have an app in Firebase, you can find and download this configuration file in Firebase Console -> Project Settings.

Run your brand new Flutter template, the mobile app will use your own Firebase backend, as opposed to our default one. Make sure you add all the tables and the required data in your Firebase so that the app will have items to display (e.g. food categories, chat messages, etc.). To quickly test the Flutter firebase integration, try registering a new user and see if they show up in Firebase -> Authentication tab.

g) Enable SMS Phone Authentication

To enable SMS authentication with Firebase, there are a few things we need to configure, that will allow the app to send SMS to the users.

Enable Phone Authentication in Firebase In Firebase, go to Authentication -> Sign-in method -> Phone Authentication and check the Enable switch.

Push Notifications#

This app uses Google Cloud Messaging (within Firebase) to send push notifications to both iOS and Android devices.

Push notifications are enabled by default in all of our Flutter templates. However, they are set up to work with our staging Firebase project, so you’ll need to switch to your own project, similar to how you’ve done it for Firestore.

Setting Up Push Notifications with Your Own Firebase

To set them up with your own Firebase, all you need to do is to replace the Server Key of the lib/constants.dart file with your own.

a) In Firebase, go to Project Settings -> Cloud Messaging and copy the Server Key to clipboard


b) In the source code, go to lib/constants.dart and replace the Server Key (SERVER_KEY constant) with your own:

const SERVER_KEY = “YOUR_KEY_HERE”;

c) also place the key in file named FirebaseHelper.dart where sendFcmMessage method placed in that method replace text Enter Your Fcm Key with your own.

Code Documentation

sendNotification(String token, String title, String body) async {}

sendFcmMessage(String title, String message, String Token)

To identify all the places that trigger push notifications, simply search for this method in the project.

Facebook Setup#

To use facebook authentication register your app on Facebook Devloper Console Create an app using app id .After that open facebook dev console and navigate to Settings/basic there you will get App ID and App secret copy both value to clipboard. Now open firebase console and navigate to Authentication/ Sign-in method, click on edit icon and submit value in respective fields.

For Android:

  • open file :\android\app\src\main\res\values\strings.xml
  • Put app id at facebook_app_id and write “fb+app id” at fb_login_protocol_scheme.

For iOS:

  • Open file: Foodie_Customer/ios/Runner/Info.plist
  • Put app id at FacebookAppID and write “fb+app id” at CFBundleURLSchemes.

ios

For Example your facebook id is 12345 then your fb_login_protocol_scheme and CFBundleURLSchemes will be fb12345.

Now facebook is set up.

Running on Android

Follow these simple steps to run Flutter templates on Android

Step 1:Plugin your Android device or open an emulator
Step 2:Open a Terminal window and run:
  • 1. cd ~/path/to/template
  • 2. flutter run

Replace ~/path/to/template with the correct path to the folder where you extracted the archive downloaded from our server. To make sure you are in the right folder, you can run “pwd” to see the current path. It must be the folder with the template, otherwise, the app won’t run.

> flutter run with this one flutter run --no-sound-null-safety

Plug in an Android device or emulator

In order to run Flutter apps on Android, you need an Android device or an emulator. If you have an Android phone or tablet, simply plug it in. You might need to enable USB debugging in Device Settings, under Developer Tools. Follow the Android Installation Guide.

Android emulators are bundled into Android Studio, so please install Android Studio, open it, go to Tools -> AVD Manager, and start an emulator of your choosing: You can also create new emulators of your own, with your own hardware requirements. Once you have an emulator up and running, proceed to the next step.

Run the Flutter App
For MacOS / UNIX simply run the two commands we described above:
  • 1. cd ~/path/to/template
  • 2. flutter run

If you are using Flutter >= 2.0 or Dart version >=2.12 with Null Safety you might want to replace this command

> flutter run with this one flutter run –no-sound-null-safety

Visual Studio Code can be used that’s directly located at the right folder. With it you can simply run “flutter run” and the app will just start.

Note:

If you are using Flutter >= 2.0 or Dart version >=2.12 with Null Safety you might want to replace this command

> flutter run with this one flutter run –no-sound-null-safety

Running on iOS

You would need Mac OS and Xcode to run a Flutter app on iOS, but there’s no need for an Apple developer account or an iPhone – you can simply run an Xcode project on the iOS simulator.

If you are not new to iOS / Flutter development, and you already have the dev environment set up, simply do the following steps:

  • Be sure you have the latest STABLE Xcode version (DO NOT USE XCODE BETA)
  • Run “flutter run” in the root folder of the downloaded project:
    1. flutter run

Note that if you are using Flutter >= 2.0 or Dart version >=2.12 with Null Safety you might want to run
1. flutter run –no-sound-null-safety

  • If the project did not start, open the .xcworkspace file in Xcode, which got generated at the previous step (you can find it in the ios folder). Also, make sure a Pods folder got generated.
  • In Xcode, select the iOS simulator/device and build and run the app (Command + R) If this is the first time you are running an iOS project on your machine, you need to set up your environment first. We recommend you follow the Flutter Guide.
  • There are a few prerequisites that are iOS specific (you don’t need them for Android):
    • Install Xcode
    • Install CocoaPods
    • Install Flutter
Follow these steps to get your app running on an iOS device or iOS simulator.

1. Run “flutter run” in the project root directory

if the “flutter run” command fails, you might want to run : > flutter run –no-sound-null-safety

2. Locate the ios folder and run “pod update“ This will install all the pods that the Flutter app depends on, such as Firebase Auth, Storage, etc. Make sure you have Cocoapods installed beforehand.

3. Open the .xcworkspace file in Xcode Simply double click on the file in the terminal (make sure you are in the ios folder).

4. Run Xcode project
Choose a simulator or device in Xcode then go to Product -> Run, or simply press Command + R. This will build and run the chat project in the selected device/simulator.

App Setup#

Application Setup Changes

Important Notes:

When you get above image error while run application then please setup firebase properly If you will face any kind of issue related to this ,feel free to raise a support ticket to https://support.siddhiinfosoft.com

Change App Name (For both application customer and driver and restaurant follow same step)

1. Change the value of label from

/android/app/src/main/AndroidManifest.xml

2. Change the value of CFBundleName from (For both application customer and
driver and restaurant follow same step)

/iOS/Runner/info.plist

3. Change App Package (For both application customer and driver and restaurant follow same step)

First you have to find out the existing package name. You can find it out from the top of the /app/src/main/AndroidManifest.xml file. Now on the right side of the project folder from VSCode. In the first box you have to put the existing package name that you saw in the AndroidManifest.xml file previously and write down your preferred package name in the second box and then click on Replace All button.

Replace Server Key

/lib/constants.dart

Replace Map key

1. Android

/android/app/src/main/AndroidManifest.xml

2. IOS

/ios/Runner/AppDelegate.swift

Setup with firebase#

1. Setup with firebase using flutterFire

Follow this link to setup with firebase :- https://firebase.google.com/docs/flutter/setup?platform=ios

See video for more

video

Useful link

video

3. Setup manually

A) For android

i) Enter package name

Ii) Download google-services.json file

Iii) Place google-services.json file in /android/app/

B) For IOS.

i) Add App.

Ii) Enter package name and download GoogleService-Info.plist

Iii) Place GoogleService-Info.plist in /iOS/

Note:

If you will face any kind of issue related to this, feel free to raise a support ticket to https://support.siddhiinfosoft.com/

Run on iOS and Android#

Setting up

In this module, we are going to outline how to configure your Flutter development.

Install Basic Flutter Development Tools

View the Flutter Installation Guide to know about basic flutter development.

Android#

Configure Flutter Development for Android

To set up Flutter for Android you need to install Dart, Flutter, Visual Studio Code (Optional), and Android Studio and follow these simple steps.

  • Install & Configure with Flutter Installation Guide
  • Download & Install Visual Studio Code (recommended for developing Flutter apps on Windows)
  • Download & Install Android Studio (only if you don’t have an Android device)

iOS#

Configure Flutter Development for iOS

Install Cocoapods, Xcode (Make sure to check the latest version of Xcode).

Setting up Project

Download zip files which contain apps and extract them to the destination place.Open project in visual studio/android studio/ xcode.

Web Documentation#

1. Introduction

Foodie is a revolutionary food delivery app designed to bring a variety of delicious cuisines from multiple restaurants straight to your doorstep. Built with Laravel & Flutter. Foodie offers a seamless and intuitive user experience, making it easier than ever to discover, order, and enjoy your favorite meals from local eateries.

Key Features:

1. Wide Selection of Restaurants: Explore a vast array of restaurants, from local favorites to popular chains, all available at your fingertips.

2. User-Friendly Interface: Enjoy a sleek and intuitive design that makes browsing menus, placing orders, and tracking deliveries effortless.

3. Real-Time Order Tracking: Stay updated with real-time tracking of your order from preparation to delivery, ensuring you know exactly when your food will arrive.

4. Customizable Orders: Personalize your meals with special instructions and dietary preferences to suit your taste and dietary needs.

5. Secure Payment Options: Choose from multiple secure payment methods, including credit/debit cards, digital wallets, and cash on delivery.

6. Exclusive Deals and Discounts: Take advantage of exclusive offers, promotions, and discounts available only through the Foodie app.

7. Easy Reordering: Quickly reorder your favorite meals with just a few taps, thanks to a user-friendly reorder feature.

8. Ratings and Reviews: Make informed decisions with access to detailed ratings
and reviews from other Foodie users.

9. 24/7 Customer Support: Receive dedicated support anytime you need assistance, ensuring a smooth and satisfying food delivery experience.

10. Multi-Platform Accessibility: Enjoy Foodie on both Android and iOS devices, with a consistent and optimized performance across platforms.

Why Choose Foodie?

Foodie stands out as a top-tier food delivery app by combining an extensive restaurant selection with a user-centric design, reliable delivery service, and secure payment options. Whether you’re craving a gourmet meal, a quick bite, or something in between, Foodie makes it easy to satisfy your hunger with convenience and style.

Web Setup#

Important Notes:

Please update your mail SMTP credentials to .env file of your admin, website & store panel otherwise mail functionality won’t work, see following snap for reference.

Php Laravel Admin Panel#

Introduction

Foodie is a one-stop solution for Multi Restaurant food delivery system developed using Flutter, Firebase, and Laravel Framework with an expressive and elegant syntax.

All the system requirements are satisfied by the Laravel Homestead virtual machine, so it’s highly recommended to use Homestead as the local Laravel development environment.

Make sure your server meets the following requirements: (If you aren’t using Homestead)

  • PHP Version (8.0 or above)
  • SSL

You must need google firebase account with upgraded plan.

  • Firebase Account (note: we need to upgrade firebase functions click here)
  • Google MAP API keys

Setup Foodie Admin Panel Laravel + Firebase Database

video

Query Indexing

You can check indexing URL in Inspect Element.

Click On URL it will index automatically.

Upload on Server#

After downloading the code, upload the Admin zip file in your server following your expected directory and extract the zip file. Foodie admin panel can be installed on a domain or subdomain.

Note:

Don’t install the admin panel or web app in a subdirectory. If you want the web app in your main domain then you need to install the admin panel in a subdomain.

Add folder to a ZIP

After you have signed in to your Bluehost account, find the folder named /laravel_application zip it, and then use the file manager to upload this file inside your /public_html folder.

Foodie Documentation

Extract the ZIP file

To get the files on your file manager, click right on your uploaded zip file and choose extract.

Foodie Documentation

Create Database#

Step 1: Create a new database from your server MYSQL database.
Foodie Documentation
Tooltip content goes here!
Step 2: Create New Database
Foodie Documentation
Tooltip content goes here!
Step 3: Create a new database user
Foodie Documentation
Tooltip content goes here!
Step 4: Link the database to the newly created DB user.
Foodie Documentation
Tooltip content goes here!
Step 5: Give all permission to your user by Check on “All PRIVILEGES” and clicking on “Make Changes”
Foodie Documentation
Tooltip content goes here!

Admin Panel Installation#

please watch video how to install admin penal in local server.  click here.

 

Step 1:

After downloading the code upload the admin install zip in your directory and extract the zip file. Foodie can be installed on your main domain or subdomain.

Foodie requires an SSL certificate to be installed on your domain to work with all the services.

Step 2:

Requirements:

  • PHP Version (8.0 or above)
  • SSL
  • Firebase Account (note: we need to upgrade firebase functions click here )
  • Google MAP API keys
Step 3:

Now you need to set Database host, Database name, Database username, Database password, and click continue if the database is in your server then the host is localhost.

Step 5:

Click on the Import Database button to import the SQL file.

Step 6:

Click on continue, after filling up the information.

Step 7:

Admin is ready to Run. Click on the admin panel or view the landing page.

Website#

Introduction

Foodie is a one-stop solution for Multi Restaurant food delivery system developed using Flutter, Firebase, and Laravel Framework with an expressive and elegant syntax.

All the system requirements are satisfied by the Laravel Homestead virtual machine, so it’s highly recommended to use Homestead as the local Laravel development environment.

Make sure your server meets the following requirements: (If you aren’t using Homestead)

  • PHP Version (8.0 or above)
video

Upload on Server#

Upload the ZIP

After you sign in to your hosting go to your file manager and upload the downloaded zip file then extract it in your /public_html folder.

Extract the ZIP file

To get the files on your file manager, click right on your uploaded zip file and choose extract

Configure Environment File

Inside the root folder of your admin panel, you will find a file named .env copy and past it into the root folder of the extracted zip file.

Foodie Documentation

Restaurant Panel#

Introduction

Foodie is a one-stop solution for Multi Restaurant food delivery system developed using Flutter, Firebase, and Laravel Framework with an expressive and elegant syntax.

All the system requirements are satisfied by the Laravel Homestead virtual machine, so it’s highly recommended to use Homestead as the local Laravel development environment.

Make sure your server meets the following requirements: (If you aren’t using Homestead)

  • PHP Version (8.0 or above)
video

Upload on Server#

Upload the ZIP

After you sign in to your hosting go to your file manager and upload the downloaded zip file then extract it in your /public_html folder.

Extract the ZIP file

To get the files on your file manager, click right on your uploaded zip file and choose extract.

Configure Environment File

Inside the root folder of your admin panel, you will find a file named .env copy and past it into the root folder of the extracted zip file.

Firebase#

Create Firebase project

Step 1: Go to firebase console using this link Firebase
Step 2: Click on “Go to console” in the top right corner.

Foodie Documentation

Step 3: Click on “Add project”, it will redirect you to the new project creation page Enter your project name and click on “Continue” again click on “Continue” after that select “Default Account fo firebase” and then click on “Create Project” See

Foodie Documentation

Step 4: After creating a new project it will redirect you to the overview page on this page click on icons like

Foodie Documentation

It will redirect you to the “Add Firebase to your web app” page enter your app nickname and click on “Register app” after clicking on it scroll down you can see details like below

Foodie Documentation

You can add these firebase project details in the project’s .env file.

Step 5: After that click on “Firestore Database” in the left sidebar and select your project name from the drop-down and click on “Create database”

Foodie Documentation

Step 6: Select the preferable option for you and click on the Next button then click on “Enable”.
Step 7: Firstore Database Rules Update.

Order Tracking & Delivery Dispatching#

UberEats Clone Working Process:

  • The customer places a new order
  • The restaurant accepts/rejects the new order
  • If the restaurant accepts the order, it is assigned to a driver that is available nearby the restaurant.
  • The driver can decide to either accept or reject the order
  • If the driver accepts the order, he is assigned to pick up and drop delivery
  • The driver reaches the restaurant to pick up the order. Once the order is picked, the driver updates the status in the app for the customer
    After delivery, the driver can mark the order as completed on the driver app
  • If the driver rejects the order, the dispatch starts again from a driver available nearby.

Customers can track all the order delivery status on their delivery app. App uses Flutter code for making most of the order updates mentioned above.

But there is some difference in the delivery system as it works on the backend side, it will have access to all available nearby drivers and restaurants.

The delivery system is implemented via Firebase Function. You will be able to find this delivery function in the downloaded archive, under Firebase/functions/products/delivery.js. Have a look at it to understand the delivery system closely.

The delivery system is implemented via Firebase Function. You will be able to find this delivery function in the downloaded archive, under Firebase/functions/products/delivery.js. Have a look at it to understand the delivery system closely.

video
To operate your Firebase backend you’ll need to follow these steps.
Step 1: Install Firebase Tools

If you haven’t used Firebase functions before, you need to install this in the command line:
npm install -g firebase-tools

Step 2: Deploy the Firebase dispatch function

From the download archive locate the Firebase folder and run:
cd ~/Downloads/YOUR_PATH_TO_FIREBASE_FOLDER
npm install & firebase deploy

When it has been deployed, you’ll be able to find this function in your Firebase Console, under the Function tab.

It is even possible for you to inspect the logs of the delivery order, which will be shown for each order delivery that is in progress.

Deploy Firebase Functions#

Note:

This section has to be considered if you have purchased code that contains a “Firebase” or “FirebaseFunctions” folder inside.

All the necessary Firebase Functions have been initially coded by us, you just need to deploy these functions to your own Firebase account. This means that you need to upload the source code inside the FirebaseFunctions folder to your account. If a Firebase account has been created, find a Firebase project, and 2 apps (iOS and Android).

Follow these steps for setup
Step 1: Setting up Node.js and the Firebase CLI
  • Use the official Firebase doc if you encounter any issues.
  • Node.js and Firebase CLI is needed to write functions and deploy them to the Cloud Functions. Install Node.js and npm, Node Version Manager. After Node.js and npm are installed, install the Firebase CLI. Use: npm install -g firebase-tools, to install the CLI via npm.
Step 2: Initialize your project

An empty project containing sample code is created when you initialized Firebase SDK for cloud functions.

For initializing the project:

  • Authenticate the firebase tool by running the firebase login via browser
  • You need to create a new “MyFirebaseFunctions” empty folder
  • Go to the MyFirebaseFunctions project directory and run firebase init functions
  • With the tool, you can install npm. Before emulating or deploying your functions, you’ll need to run npm install
  • The tool gives you two options for language support:
    • – JavaScript
    • – TypeScript
  • Please select JavaScript.

During initialization, package.json file is created that contains an important key: “engines”: {“node”: “12”}. Make sure it is Node.js version 12, before writing and deploying functions.

Step 3: Adding Foodie Functions

As we are providing the full source code for your Firebase Functions, all you need to do is add that source code into your newly created MyFirebaseFunctions project. Follow these steps to proceed:

  • – In the Foodie’s FirebaseFunctions folder, copy the “functions” subfolder to the clipboard.
  • – Paste it to MyFirebaseFunctions folder, and OVERRIDE the functions folder. Now you have a Firebase Functions project, that is linked to your Firebase account with our source code that works on the mobile app
Step 4: Deploy Firebase Functions

To deploy Firebase Functions, you need to make sure you upgrade your Firebase Pricing Plan to Blaze.

Simply run the command (firebase deploy –only functions) in the project directory

Now you can go to your Firebase Console and check, as the functions have been deployed. It is possible to see the logs for each function, understand the output, and know when it gets called.

Step 5: Watch Firebase Functions for Errors

To run properly, some Firebase functions need the creation of indexes on certain Firestore collections. Use the app and watch the logs for the Firebase Functions in the console. If you happen to get an error of missing index, simply click on the URL of that error, and the index will get created automatically. There is no need to deploy functions again, but wait until the index is created, before testing the app again.

Foodie Firestore Database Collection Import Export#

Video For Foodie Firestore Database Collection Import Export

video
Step 1: Setup NPM in your Computer URL:

https://nodejs.org/en/download/

 

Step 2: Extract Source Code of firestore-import-export-master.zip
Step 3: We have to open command prompt on project folder and run command : npm install
Step 4: Setup Firebase Project if you not created.
Step 5: Configure serviceAccountKey.json file. you can get from forbase Project settings

Go to ->Service account -> Select Node.js -> Generate new private key

Wait untill create key this will auto download.

and Replace with current serviceAccountKey.json


Step 6: Run command on project folder bellow import commands

All Collections are in Folder name “FoodeisDataSeed”

One By one You have to run command for import each collection.


# IMPORT Commands:

node import.js FoodeisDataSeed/channel_participation.json

node import.js FoodeisDataSeed/channels.json

node import.js FoodeisDataSeed/coupons.json

node import.js FoodeisDataSeed/currencies.json

node import.js FoodeisDataSeed/driver_payouts.json

node import.js FoodeisDataSeed/favorite_restaurant.json

node import.js FoodeisDataSeed/foods_review.json

node import.js FoodeisDataSeed/payouts.json

node import.js FoodeisDataSeed/rating.json

node import.js FoodeisDataSeed/restaurant_orders.json

node import.js FoodeisDataSeed/settings.json

node import.js FoodeisDataSeed/users.json

node import.js FoodeisDataSeed/vendor_categories.json

node import.js FoodeisDataSeed/vendor_filters.json

node import.js FoodeisDataSeed/vendor_products.json

node import.js FoodeisDataSeed/vendors.json

node import.js FoodeisDataSeed/wallet.json

You also can check how to export collection in readme.txt file

# Export commands:

node export.js channel_participation

node export.js channels

node export.js coupons

node export.js currencies

node export.js driver_payouts

node export.js favorite_restaurant

node export.js foods_review

node export.js payouts

node export.js rating

node export.js restaurant_orders

node export.js settings

node export.js users

node export.js vendor_categories

node export.js vendor_filters

node export.js vendor_products

node export.js vendors

node export.js wallet


Demo User Authentication Import#

Step 1: Get files from the source zip
Step 2: Get serviceAccountKey.json from firbase configuration

link:https://clemfournier.medium.com/how-to-get-my-firebase-service-account-key-file-f0ec97a21620


Step 3: npm install
Step 4: run command: “node import-user.js”

You can see proccess of import users in firstore.(Note: Do not close terminal on runing process.)


Foodie POS Web#

Here the documentation for Foodie app ends.

Introduction

If you still have any queries you can get back to our support staff. We will update the documentation, when we update with new features on the app.

video

Foodie POS App#

Here the documentation for Setup Foodie POS app.

Introduction

If you still have any queries you can get back to our support staff. We will update the documentation, when we update with new features on the app.

video
manual

We are passionate about helping individuals
discover their next thrilling Multi Vendor App.

GETINTOUCH@

  • info@siddhiinfosoft.com
  • +91 9909012997
  • Privacy Policy
  • Privacy Policy
  • Terms of Use
  • Terms of Use
  • © 2024 support.siddhiinfosoft.com. All Rights Reserved.