{"id":20393460,"url":"https://github.com/elisherer/blazestore","last_synced_at":"2026-04-29T21:02:27.274Z","repository":{"id":148249870,"uuid":"366346646","full_name":"elisherer/blazestore","owner":"elisherer","description":"Firestore alternative web GUI","archived":false,"fork":false,"pushed_at":"2021-11-12T16:57:34.000Z","size":1371,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T10:55:19.534Z","etag":null,"topics":["firebase","firebase-firestore","firestore","firestore-admin","material-ui","react","ui"],"latest_commit_sha":null,"homepage":"https://elisherer.github.io/blazestore/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elisherer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-11T10:44:32.000Z","updated_at":"2024-11-16T18:30:41.000Z","dependencies_parsed_at":"2023-05-19T13:15:33.397Z","dependency_job_id":null,"html_url":"https://github.com/elisherer/blazestore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisherer%2Fblazestore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisherer%2Fblazestore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisherer%2Fblazestore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisherer%2Fblazestore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elisherer","download_url":"https://codeload.github.com/elisherer/blazestore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241944761,"owners_count":20046817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase","firebase-firestore","firestore","firestore-admin","material-ui","react","ui"],"created_at":"2024-11-15T03:48:55.457Z","updated_at":"2025-10-26T10:32:58.932Z","avatar_url":"https://github.com/elisherer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Blazestore\n[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/elisherer/blazestore/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/elisherer/blazestore/pulls)\n\u003cimg src=\"./docs/blazestore.svg\" alt=\"Blazestore logo\" align=\"right\" width=\"20%\"/\u003e\n\n\nGUI for Firestore Admin SDK (inspired by the official firestore console)\n\n### Usage\n\n- Clone this repository\n- Throw your service account JSON file into `/server/credentials`\n  - IMPORTANT: Your files will be ignored by Git (there is a `.gitignore` file in there)\n  - See instructions below how to obtain a service account\n- Create another `.env` file (same folder).\n\ne.g. `.env` (in addition to `my-app-service-account-af2cb2364.json`)\n```sh\n# default is 3030\n#SERVER_PORT=\n\nFIRESTORE_DATABASE_URL=\"https://my-project.firebaseio.com\"\n\nGCLOUD_AUTH_TYPE=\"service_account\"\nGCLOUD_PROJECT=\"my-project\"\n\n#GCLOUD_AUTH_TYPE=oauth2\n# override the default redirect url (default is the first one)\n#OAUTH2_REDIRECT_URL=\n```\n- Install dependencies `npm install`\n- Run the app by `npm start`\n- Open browser on `http://localhost:3030`\n\n### How to create a service account\n\n1. Go to [Firebase console](https://console.firebase.google.com/)\n2. Open your project's settings.\n3. At the \"Service accounts\" tab, click the \"Generate new private key\" (Node.js chosen)\n\n![create_service_account](./docs/create_service_account.png)\n\n### Update documents fields syntax\n\n|Value format|Argument|Translates to|Description|Example|\n|------------|---------|-------------|-----------|-------|\n|`\"$id\"`     |  None   | `path.split('/').pop()`|Gets the current document id (last part of the path)|`\"key\": \"$id\"`\n|`\"$path\"`   |  None   | `path`|Gets the current document path|`\"current_path\": \"$path\"`\n|`\"$path\u003cn\u003e\"`|  None   | `path.split('/')[n]`|Gets the Nth part of current document path|`\"root_collection\": \"$path0\"`\n|`\"$ref:/...\"`| Path to a document (can contain `$path\u003cn\u003e?` placeholders) | `firestore.doc(\"/...\")`| `DocumentReference` type value| `\"related_doc\": $ref:/$path0/$path1/sibling-coll/doc-1\"`\n|`\"$time:\u003cmillis/ISO\u003e\"`|`millis` = Milliseconds since UNIX epoch OR `ISO` = ISO-8601 format. |`Timestamp.fromDate(new Date(...))`|`Timestamp` type value|`\"action_time\": $time:1609459200000\"` / `$time:2021-01-01T00:00\"`\n|`\"$serverTime()\"`|None|`FieldValue.serverTimestamp()`|`Timestamp` of write time on server|`\"created_at\": \"$serverTime()\"`\n|`[\"$geo\", \u003cla\u003e, \u003clo\u003e]`|Latitude and Longitude (float)|`new GeoPoint(\u003cla\u003e,\u003clo\u003e)`|`GeoPoint` type value|`\"ip_location\": [\"$geo\", 34, 40]`\n|`\"$inc:\u003cby\u003e\"`|Number (float or int)|`FieldValue.increment(\u003cby\u003e)`|Increments (or decrements for negative values) the existing value (or adding to 0)|`\"count\": \"$inc:1\"`\n|`[\"$union\", ...]`|any[]|`FieldValue.arrayUnion(...)`|Add the following items to the existing array (create one if not an array)| `\"likes_by\": [\"$union\", \"$ref:/...\"]`\n|`[\"$remove\", ...]`|any[]|`FieldValue.arrayRemove(...)`|Remove the following items from the existing array|`\"flags\": [\"$remove\", 2]`\n|`\"$delete\"`|None|`FieldValue.delete()`|Mark this field for deletion (on update only)| `\"to_be_deleted\": \"$delete\"`\n\n![syntax](./docs/update_doc.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felisherer%2Fblazestore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felisherer%2Fblazestore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felisherer%2Fblazestore/lists"}