https://github.com/jerrywithaz/google-datastore-emulator-ui
A simple user interface for interacting with the google datastore emulator locally.
https://github.com/jerrywithaz/google-datastore-emulator-ui
datastore datastore-emulator google google-console-admin
Last synced: 26 days ago
JSON representation
A simple user interface for interacting with the google datastore emulator locally.
- Host: GitHub
- URL: https://github.com/jerrywithaz/google-datastore-emulator-ui
- Owner: jerrywithaz
- Created: 2021-10-02T02:04:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-21T00:44:59.000Z (over 4 years ago)
- Last Synced: 2025-12-18T18:23:43.234Z (6 months ago)
- Topics: datastore, datastore-emulator, google, google-console-admin
- Language: TypeScript
- Homepage:
- Size: 7.49 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Datastore Emulator UI
A simple user interface for interacting with the google datastore emulator locally.
## Installation
Run
```sh
npm i -g google-datastore-emulator-ui
```
or
```sh
yarn global add google-datastore-emulator-ui
```
## Environment Variables
`DATASTORE_EMULATOR_HOST` - The host nd port of your google cloud emulator that is currently running such as `http://localhost:8097`
`DATASTORE_BACKUP_BUCKET` - The name of the google cloud storage folder that your backups write to.
`DATASTORE_BACKUP_DIR` - The full path to you backups folder such as `/Users/zhogan/Documents/Code/Personal/my-other-project/gcloud_datastore/backups`
`PROJECT_ID` - The google datastore project id.
`SERVER_PORT` - The port for the google-datastore-emulator-ui server to run on.
## Usage
Run
```sh
google-datastore-emulator-ui -i my-project-id -e http://localhost:8097 -b my-backups-bucket -d /Users/zhogan/Documents/Code/Personal/my-other-project/gcloud_datastore/backups
```
## Cli Options
```sh
Usage: google-datastore-emulator-ui [command]
Options:
-V, --version output the version number
-i, --id The id of the google datastore project. (default: process.env.PROJECT_ID)
-e, --emulator-host The url of the emulator (default: process.env.DATASTORE_EMULATOR_HOST)
-b, --backup-bucket The google cloud storage backup bucket (default: process.env.DATASTORE_BACKUP_BUCKET)
-d, --backup-dir The google cloud storage backup bucket (default: process.env.DATASTORE_BACKUP_DIR)
-p, --port The port to run the express server on (default: process.env.SERVER_PORT || "8002")
-h, --help display help for command
```
## Screenshots

