At the moment, a simple GUI for Google Cloud Datastore in Emulator Mode during development.
I make this Server in Gin(Golang) which is the backend to connect datastore emulators, and the client is ReactJs which copy from Google Clound GUI.
I have found Google Clound GUI
cannot work well with me in latest node, and I want to see the data in datastore emulator with gui, so I make the backgroun with golang.
I have made Dockerfiles with server&client.
you can start it with
docker-compose build && docker-compose up
The project is composed of server
and client
directories. To run locally:
-
Under
client
runyarn start
ornpm start
- this will start a development server on port 3000 and open the browser athttp://localhost:3000
-
Under
server
rungo run main.go
- this will start the server on port 8000 with Golang(Gin).
I have followed the client with Google Clound GUI. You can see more operation in Google Clound GUI.
Make emulator Docker image
version: "3"
services:
datastore:
image: singularities/datastore-emulator
environment:
- DATASTORE_PROJECT_ID=[Your Project ID]
- DATASTORE_LISTEN_ADDRESS=[You host IP&Port]
ports:
- "8081:8081"
Thanks For GabiAxel about Google Clound GUI.