---
description: >-
  This page describes how to set up the Taxi Driver App with Firebase
  Integration.
---

# Taxi Driver App - Setup

{% hint style="success" %}
_**Remember to enter your own GOOGLE API KEY in the source code in the place of YOUR\_API\_KEY. Without this api key, many functionalities might not work, especially maps. Check the**_ [_**docs**_](../extra/app-specific-requirements) _**for more info**_
{% endhint %}

It has 2 steps which are as follows. Make sure before these steps you must have completed the [Initial Dev Environment Setup](../setup-and-deployment-1/initial-setup) :-

1. Running the App (Web Browser)
2. Firebase Integration into our app

### 1. Running the app

Here we will run our app in the Go to [Running the App ( Web Browser)](../setup-and-deployment-1/running-the-app) section to complete this step. Here we will run our app in the development mode.

After successfully this step you should be able to see the following screen of the Driver app.&#x20;

In our screen it says "_**FirebaseError: Missing or insufficient permissions**_" (pointed out by cursor on the screen) - but that is due to firebase connection error. This will resolve after the next step.&#x20;

![](https://833912930-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqKtay1j36CbfXCRwWg%2F-M5C6qqnUjNDQlF9jKY3%2F-M5C8GlFdqXuTi8hjzd0%2FScreenshot%202020-04-18%20at%202.36.13%20PM.png?alt=media\&token=e8ba5fac-a9fe-42b4-95c8-87dd14c20bde)

### &#x20;

### 2. Firebase Integration into our App

Go to [Firebase Integration Into our App](../firebase-setup-and-integration/firebase-+-our-project)  section to complete this step. Here we will setup the **environment files** in Ionic project to connect to right firebase instance. Previously it will have config to our sample firebase. If the connection is proper and rules and permissions are right. You should get your app working.

After completing the above step, go to the **Driver App** running in the browser(as shown below). Fill the necessary details as shown below and click on "**Sign up"**.

![](https://833912930-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqKtay1j36CbfXCRwWg%2F-M5C8rKpmDiFTfWp9flw%2F-M5CAMT-IG9Wv06o3R7s%2FScreenshot%202020-04-18%20at%202.38.32%20PM.png?alt=media\&token=daaf87b4-ddcb-4788-bc43-4572719dad58)

You should be able to see the following screen. As we need some Admin approval we need to setup the Admin App also.&#x20;

![](https://833912930-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqKtay1j36CbfXCRwWg%2F-M5C8rKpmDiFTfWp9flw%2F-M5CAg5m5cuDccB69XYv%2FScreenshot%202020-04-18%20at%202.39.12%20PM.png?alt=media\&token=ccac6962-610f-40bb-a2f3-ff703d22f15f)



**Completed Driver App setup !!**

Now we have successfully run the **Driver App**. We need to setup **Admin App** to approve a new driver.

Go to the  [Taxi Admin App - Setup](untitled) section  to move to next major step.
