Taxi Driver App - Setup

This page describes how to set up the Taxi Driver App with Firebase Integration.

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 for more info

It has 2 steps which are as follows. Make sure before these steps you must have completed the Initial Dev Environment 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) 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.

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.

2. Firebase Integration into our App

Go to Firebase Integration Into our App 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".

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

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 section to move to next major step.

Last updated