Baserunner is atool for exploring and exploiting Firebase datastores. See this post on our blog for an overview of how Firebase works and why we developed this tool.
git clone https://github.com/iosiro/baserunner.git
npm run build
Go to http://localhost:3000 in your browser.
The Baserunner interface looks like this:
First, use the configuration textbox to load a Firebase configuration JSON structure from the app you’d like to test. It looks like this:
Then log in as a regular user, either with email and password or with a mobile phone number. When logging in with a mobile phone number, complete the CAPTCHA before submitting your number. You then be prompted for an OTP from your SMS. Enter this without completing the CAPTCHA to finish logging in. Note that you can skip this step to test queries without authentication.
Finally, you can use the query interface to submit queries to the application’s Cloud Firestore. Baserunner provides a number of template queries for common actions. Click on one of them to load it in the textbox, and replace the values that look
==LIKE THIS== with valid names of collections, IDs, fields, etc.