Introducing FireDrill - Power tools for Firebase
Tags: firebase, angular, productivity, tools
Published: 2018-09-27 15:32:05

---
title: Introducing FireDrill - Power tools for Firebase
published: true
description: Making it easy to find and manage your Firebase data.
tags: #firebase #angular #productivity #tools
cover_image: https://thepracticaldev.s3.amazonaws.com/i/571uzee2ghyk3axyyslm.png
---

Firebase rocks! We devs can create apps faster than ever, not having to worry about setting up and maintaining back end infrastructure. 

The challenge I found with Firebase was using the Firebase console to find data. Also adding/modifying data in the console is a bit cumbersome.

To overcome these challenges, I've created [FireDrill](https://firedrill-74829.web.app)

Let's check it out!

First we need to connect to our database. The easiest way is to open your Firebase project, then click the Gear and "Project Settings":

![settings](https://thepracticaldev.s3.amazonaws.com/i/2ahx0ifm55ys9y3pnweh.png "Settings")

Now scroll down and select "Add Firebase to your Web App":

![add](https://thepracticaldev.s3.amazonaws.com/i/79g45t81le051hgqm54y.png "Add")

Highlight the section you see below and Ctrl-C (don't use the Copy button)

![config](https://thepracticaldev.s3.amazonaws.com/i/u2859buh9et6uidtg6zs.png "Config")

You will also need to add **firedrill-74829.web.app** as an Authorized domain. On the left under Develop click Authentication. Then choose "Sign-in Method", then scroll down to "Authorized domains" and click "Add Domain".  Enter "firedrill-74829.web.app" as your domain.


Now open [FireDrill](https://firedrill-74829.web.app). On the Connect page click the JSON tab and paste your connection info. The default database type is "Firestore" but you can change this to "Realtime" depending on your database type. When ready click the Connect button.

![connect](https://thepracticaldev.s3.amazonaws.com/i/i9kmhy8j162l116xgag1.png "Connect")

You are connected! Now you need to sign in. You can use your email or sign in with Google (if you have enabled Google authentication in Firebase). You can skip this step if you haven't secured your data.

![signin](https://thepracticaldev.s3.amazonaws.com/i/v4tkmi9neiqsq5vp2zle.png "Sign In")

OK! We are ready to start drilling!

On the Drill screen you see a "Path" input. Here you can enter a Collection name.

![path](https://thepracticaldev.s3.amazonaws.com/i/8sutxwcivzsufhd8bwdc.png "Path")

I have a Collection called "shoes". I'll type "shoes" and click "Drill".

![path](https://thepracticaldev.s3.amazonaws.com/i/ayg5o4du50x3t8ihp756.png "Path")

Great I found my shoes. Notice the limit at the right of the Drill button is 10. You can adjust the limit to your liking. You may also notice all the values are links. This allows quick filtering. I'll click the Brand "Jordan" on the first result.

![path](https://thepracticaldev.s3.amazonaws.com/i/dgspebvnqwj1gp4hfeqn.png "Path")

So I was able to quickly filter down to only "Jordan" shoes. This is nice for quick filtering, but I want more advanced filtering, like date range or price range. No problem. 

Let's open the filters drawer. I'm going to click the "Show Filters" link you see above the results. Now the drawer opens and I can choose a field to filter on.

![filter](https://thepracticaldev.s3.amazonaws.com/i/v4dqui8o6yw9idyp41hj.png "Filter")

I'm going the select the "price" field and the "Between" type, then add 100 as the Start and 150 as the End price and click "Apply". Now I see only items within that price range. This also works for date fields.

![filter](https://thepracticaldev.s3.amazonaws.com/i/g6uj9h33r116csr8scm7.png "Filter")

We can also use "Greater Than", "Less Than" or "Equals" as the Type. 

Now I want to see the highest prices first. No problem. On the right click the "Sort" link and click the "price" field. It sorts in ascending order first (notice the icon next to the field). Just click "Sort" again and click the "price" field again. It will now be in descending order. Notice the icon changed pointing downward.

![sort](https://thepracticaldev.s3.amazonaws.com/i/18jb9t5wf3pe679c3tx0.png "Sort")

And we can see our results are now sorted by highest price first:

![sort](https://thepracticaldev.s3.amazonaws.com/i/ol4aoxhs8ahu7m01lsav.png "Sort")

So I've shown how you can use [FireDrill](https://firedrill-74829.web.app) to quickly find your data in Firebase. I've also shown how you can use range filters and how you can sort your data. In the next article, I'll show you how you can quickly edit and manage your Firebase data. Stay tuned!

In the meantime, try [FireDrill](https://firedrill-74829.web.app) out for yourself. If you encounter any issues, please feel free to report them here: [FireDrill Issues] (https://github.com/scottlepp/fire-drill/issues). Thanks and happy drilling!