Skip to content

Micro peers is a side project where multiple services are connected to network through consul

License

Notifications You must be signed in to change notification settings

WisdomEnigma/micro-peers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micro-peers

Micro peers is a side project where multiple services are connected to network through consul. These services communicate with each other and also discover other services. In future we will add more services that will discover other services and share data arcoss data centers

Consul Node :

consul agent -dev -node=machine 
Consul agent initate on your system.

Consul run through configuration files
consul agent -dev -config-dir=./web.json -node=machine

Checkout your consul dns information
dig @127.0.0.1 -p 8600 service_name.service.consul

How to run app

  • 👀 forking the project
  • 👽 Another terminal Ctrl+T and type cd client/ && go run main.go
  • 💻 Open terminal Ctrl+T and run go run main.go

RUN CONSUL :

  • 👀 fork the project and type ctrl+ t ; then cd consul
  • 😘 consul agent -dev -config-dir=./web.json -node=machine
check on 127.0.0.1:8500

About

Micro peers is a side project where multiple services are connected to network through consul

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages