Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yusufshakeel/bigtable-emulator-frontend
This project is a frontend for Google Bigtable emulator and runs on localhost.
https://github.com/yusufshakeel/bigtable-emulator-frontend
Last synced: 4 days ago
JSON representation
This project is a frontend for Google Bigtable emulator and runs on localhost.
- Host: GitHub
- URL: https://github.com/yusufshakeel/bigtable-emulator-frontend
- Owner: yusufshakeel
- License: mit
- Created: 2023-01-19T14:47:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T10:10:34.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T20:44:41.275Z (2 months ago)
- Language: JavaScript
- Size: 576 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bigtable-emulator-frontend
This project is a frontend for Google Bigtable emulator and runs on localhost.## Getting started
### Run the emulator
Open terminal and run the following command to start the Google Bigtable emulator.
Following will initialise the environment variable.
```shell
$(gcloud beta emulators bigtable env-init)
```Now run the following to start the emulator.
```shell
gcloud beta emulators bigtable start
```At this point we will see the following.
```text
Executing: /usr/local/opt/google-cloud-sdk/platform/bigtable-emulator/cbtemulator --host=localhost --port=8086
[bigtable] Cloud Bigtable emulator running on 127.0.0.1:8086
```### Run the frontend
Open another terminal and set the following environment variables.
```shell
export GOOGLE_CLOUD_PROJECT=fake-localhost-projectexport GOOGLE_APPLICATION_CREDENTIALS=fake-gcloud-account-key.json
export GOOGLE_BIGTABLE_INSTANCE=fake-localhost-instance
export BIGTABLE_EMULATOR_HOST=localhost:8086
```Now run the following command to start the frontend.
```shell
npm run dev
```This will open the frontend app on [http://localhost:3000](http://localhost:3000).
We can run the frontend on a different port by running the following command.
```shell
PORT=12345 npm run dev
```This will open the app on [http://localhost:12345](http://localhost:12345).