Coder Social home page Coder Social logo

e3w's Introduction

e3w

etcd v3 Web UI based on Golang && React, copy from consul ui :)

supporting hierarchy on etcd v3, based on e3ch

Quick Start

git clone https://github.com/soyking/e3w.git
cd e3w
docker-compose up
# open http://localhost:8080

Or use docker image by docker pull soyking/e3w, more details in Dockerfile and docker-compose.yml

Overview

KEY/VALUE

MEMBERS

ROLES

USERS

SETTING

Usage

1.Fetch the project go get github.com/soyking/e3w

2.frontend

cd static
npm install
npm run publish

3.backend

a. Start etcd, such as goreman

b. Edit conf/config.default.ini if needed, go build && ./e3w

c. For auth:

ETCDCTL_API=3 etcdctl auth enable
# edit conf/config.default.ini[app]#auth
./e3w
# you could set your username and password in SETTING page

4.build image

Install dependencies in 3.b, then run docker build -t soyking/e3w .

Notice

  • When you want to add some permissions in directories to a user, the implement of hierarchy in e3ch requires you to set a directory's READ permission. For example, if role roleA has the permission of directory dir1/dir2, then it should have permissions:

     KV Read:
     	dir1/dir2
     	[dir1/dir2/, dir1/dir20) (prefix dir1/dir2/)
     KV Write:
     	[dir1/dir2/, dir1/dir20) (prefix dir1/dir2/)
    

    When userA was granted roleA, userA could open the by http://e3w-address.com/#/kv/dir1/dir2 to view and edit the key/value

  • Access key/value by etcdctl, issue. But the best way to access key/value is using e3ch.

e3w's People

Contributors

soyking avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.