Firebase Config

It gives detailed information of Firebase Config and set up.

Firebase

This app uses Firebase as a backend to read and save data for Menu, Order, etc. In this section, you will find all the steps required for dashboard set up for connecting with Firebase App and Backend

Create a Firebase App

First, you should create a free Firebase account and create a new project there. You can visit firebase.google.com and signup if you don't have an account with google earlier and if you have an account you can create a firebase app project. Enter your project Name and Select Region that will create a Firebase project for you.

Add Firebase to your ionic app

Once the project gets created, Navigate into Overview menu on the left side then you can find Add Firebase to your web app option as displayed in the screenshot below.

Copy App credential

Once you copy the Config credential you can replace the current config details on firebase.config.ts.

Then, click on database link on the left panel. Click on the small dropdown link on the right, and it gives you an option to export/import project. You need to click on "Import JSON" and upload the dummy JSON we provided. You can find dummy JSON inside Firebase project folder > src > assets. You can select and import this file.

And Boom your Firebase project almost ready and you can see all the menu Items within apps from own Firebase account.+

Firebase Authentication

To register and Login to apps, you need to activate fire base authentication Email/password.

You can Setup Social auth as well, but you need to do some changes in the Apps side as well if you complete all the point successfully now you can Register to apps. Once you register, check your Database you can notice the creation of new user You need to edit user permission from User to Admin to Login into Dashboard.

If you notice any issue, you can contact our support team anytime, and we will come back and resolve you ASAP.

Last updated