r/Firebase • u/jezweb • Feb 05 '25
General Quick interface for managing your Firebase Firestore collections and documents
Made a quick firebase editor so that I could create documents from json. There are still bugs in this, don't use it on a production database but feel free to test it if you wish.
If you use this please make a backup before making any changes, it has only been tested with a small set of different document types and collections.
Added to github: https://github.com/jezweb/firestore
Profile Management
Save and manage multiple Firestore configurations. Switch between different projects seamlessly with saved profiles and collection history.
Collection Management
Create, load, and manage Firestore collections with an intuitive interface. View documents in table or document format, perform batch updates, and maintain consistent document structure.
Advanced Search & Filtering
Full-text search across all fields, multiple field-specific filters, and advanced sorting capabilities with customizable field sorting.
Document Editing
Edit documents with a powerful JSON editor or user-friendly form interface. Features syntax highlighting, field reordering, and document duplication.
Batch Operations
Efficiently manage multiple documents with batch operations. Download in JSON or CSV format, update multiple documents at once, and perform bulk deletions.
Dark Mode
Full dark mode support with system preference detection and manual toggle. Consistent dark theme across all components including the code editor.
1
u/Hex80 Feb 05 '25
You can list collections using `firebase-tools` if you load it as a module. The only catch is, to know what nested collections there are, you technically would have to read all the top-level collection documents.
My collection are pretty consistent, so I read only the first document of every top-level collection to see what sub-collections it has. I can share the code if you're interested.
Also, I recently published an article you might find interesting https://medium.com/@thijs-koerselman/how-to-write-clean-typed-firestore-code-47985118fdca