An open API service indexing awesome lists of open source software.

https://github.com/dracuxan/blod-bank

configuration manager in go
https://github.com/dracuxan/blod-bank

blod flakes go golang grpc nix

Last synced: about 1 month ago
JSON representation

configuration manager in go

Awesome Lists containing this project

README

          

# blod-bank

A gRPC-based configuration management service with a simple CLI client.
Currently supports fetching and listing stored YAML-like config files.

## Project Structure

```sh
blod-bank

├── server
│ ├── main.go
│ └── models
│ └── models.go
├── client
│   ├── helper
│   │   └── helper.go
│   ├── main.go
│   └── runner
│   ├── commands
│   │   ├── delete.go
│   │   ├── get.go
│   │   ├── list.go
│   │   ├── register.go
│   │   └── update.go
│   └── run.go
├── proto
│   ├── blod_grpc.pb.go
│   ├── blod.pb.go
│   └── blod.proto
├── flake.lock
├── flake.nix
├── go.mod
├── go.sum
├── LICENSE
├── Makefile
└── README.md
```

## Getting Started

1. Clone the repo
2. Run the server:
```sh
go run server/main.go
```
3. Run the client:
```sh
go run client/main.go
```

## Roadmap

- [x] Get single config
- [x] List all config
- [x] Register new config
- [x] Update config
- [x] Delete config
- [x] Basic CLI tool

## TODO

- [x] Add database connection
- [x] Replace in-memory storage with Postgress in server
- [x] Replace raw queries with orm
- [x] Add rpc server for other apps to access the server