Skip to content

gagan-gv/dot-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dot-conf

The .conf, dynamic configuration platform, is designed to provide developers with a flexible solution for managing configurations outside of their codebases. By decoupling configurations from the application code, developers gain the ability to modify settings during runtime, reducing the need for frequent deployments and enhancing overall flexibility and security. It's an open-source alternative to Consul by Hashicorp, Etcd, etc.

Documents

  1. HLD
  2. LLD

Setup

Build Backend Service

  1. Run go mod tidy.
  2. Install protobuf
For Linux:
sudo apt install -y protobuf-compiler

# For Mac:
brew install protobuf

# Common for both
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
  1. If you've updated the proto file, run the below command
## backend server
cd backend
protoc --proto_path=../proto --go_out=paths=source_relative:./proto --go-grpc_out=paths=source_relative:./proto ../proto/config.proto

Integration

  1. Build this proto in your project
  2. Create a client listening on 9899
  3. Use the get method to fetch the values for your project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages