Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rustyx/etcdv3-browser
etcd v3 browser - web UI client for browsing (and optionally, editing) etcd3 contents
https://github.com/rustyx/etcdv3-browser
browser etcd etcd-browser etcd3
Last synced: 2 months ago
JSON representation
etcd v3 browser - web UI client for browsing (and optionally, editing) etcd3 contents
- Host: GitHub
- URL: https://github.com/rustyx/etcdv3-browser
- Owner: rustyx
- License: mit
- Created: 2019-06-24T07:48:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T22:32:20.000Z (almost 2 years ago)
- Last Synced: 2023-03-18T14:06:11.448Z (almost 2 years ago)
- Topics: browser, etcd, etcd-browser, etcd3
- Language: Go
- Homepage:
- Size: 1.65 MB
- Stars: 35
- Watchers: 1
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# etcdv3-browser
A simple etcd (v3) web-based browser.
![etcd browser](https://rustyx.org/temp/etcdv3-browser.png)
## Running
The application is designed to be run in Docker.
For example, the following starts `etcd` and `etcdv3-browser` in Docker:
```
docker network create my_net
docker run -d --name etcd -p 2379:2379 --net my_net quay.io/coreos/etcd
docker run -d --name etcdv3-browser -p 8081:8081 --net my_net -e ETCD=etcd:2379 -e EDITABLE=1 rustyx/etcdv3-browser
```Open http://localhost:8081
### Configuration
Environment variables:
| variable | description | default |
| ----------- | --------------------------------------- | --------------------------------------------- |
| `HTTP_PORT` | listen port | `8081` |
| `ETCD` | etcd endpoint | `etcd:2379` |
| `CORS` | allowed origins | `http://localhost:8080,http://localhost:8081` |
| `EDITABLE` | set to `1` to enable edit functionality | `0` |## Development environment
Initial setup: install Go, Node.js, `npm install -g yarn`
### Backend
```
cd backend
go build
./etcdv3-browser
```### Frontend
```
cd frontend
yarn serve
```### Running unit tests
```
go test ./...
npm run test:unit
```### Lints and code quality checks
```
npm run lint
```