Skip to content

alex-cova/LocalDatastoreBrowser

Repository files navigation

Local Datastore Browser

LDB Or Local Datastore Browser is the missing tool to work with the GCP Datastore emulator Screen Shot 2022-04-23 at 23 47 52

1. Get Datastore Emulator Up & Running

datastore-compose.yaml

docker-compose -f datastore-compose.yaml up
version: '3.8'
services:
datastore-local:
command: "gcloud beta emulators datastore start --project test-project --host-port 0.0.0.0:8081 --consistency 1.0"
image: "gcr.io/google.com/cloudsdktool/cloud-sdk:382.0.0-emulators"
container_name: datastore-local
ports:
- "8081:8081"
volumes:
- "./datastore:/root/.config/gcloud/emulators/datastore/WEB-INF/appengine-generated/"
working_dir: /home/datastore

2. Open LDB

Java 17 or newer is requiered.

java - jar 'fileName.jar'

3. Set up your project-id

Screen Shot 2022-04-23 at 23 48 16

4. Browse your data

Screen Shot 2022-04-23 at 23 47 57

Why I made this & TODO List

I’ve been working with Datastore (Firestore mode) for a while, when one of the tests fails can be tricky to check what happened, maybe I’m wrong, But despite that I’m kinda UI man, so enjoyed making this app in my free time, and it already saved me hours of work :).

TODO

  • Paginator
  • Entity Viewer
  • UI Components for filters
  • Entity Editor
  • Data Exporter/Importer
  • Kind properties viewer
  • Clean up the code
  • And much more…

This application is powered by OSS projects ❤️

About

The missing tool to work with the GCP Datastore emulator

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published