ArchiveorgSoftware☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment A coffee shop application with event-driven microservices has been written in Golang. Nomad, Consul Connect, Vault, and Terraform for deploymentOther version can be found at:Technical stackBackend building blocksInfrastructurePostgres, RabbitMQHashicorp Nomad, Consul (Connect), Vault, Terraformdocker and docker-composedevcontainer for reproducible development environmentCoffeeShop - Choreography Saga ServicesNo. | Service | URI--- | --- | ---1 | grpc-gateway | http://localhost:50002 | product service | http://localhost:50013 | counter service | http://localhost:50024 | barista service | http://localhost:50035 | kitchen service | http://localhost:50046 | web | http://localhost:8080[1][2][3][4][5][6]Starting projectJump into .devcontainer, then```bash docker-compose -f docker-compose-full.yaml build docker-compose -f docker-compose-full.yaml up ```From vscode => Press F1 => Type Simple Browser View => Choose it and enter http://localhost:8080[7].Enjoy!!!ScreenshotsHome screen Payment screen Order list screen HashiCorp stack deployment The details of how to run it can be find at deployment with Nomad, Consult Connect and Vault[8].Debug AppsDebug golang app in monorepo[9]Trouble shootingDevelopment project trouble shooting[10]RoadmapEnhance project structure with DDD patternsAdd testingAdd and integrate with observability libs and toolsAdd user identity management (authentication and authorization)Add resiliencyCredits To restore the repository download the bundle wget https://archive.org/download/github.com-thangchung-go-coffeeshop_-_2022-12-02_14-01-10/thangchung-go-coffeeshop_-_2022-12-02_14-01-10.bundle and run: git clone thangchung-go-coffeeshop_-_2022-12-02_14-01-10.bundle Source: https://github.com/thangchung/go-coffeeshop[11]Uploader: thangchung[12]Upload date: 2022-12-02 References^ http://localhost:5000 (localhost)^ http://localhost:5001 (localhost)^ http://localhost:5002 (localhost)^ http://localhost:5003 (localhost)^ http://localhost:5004 (localhost)^ http://localhost:8080 (localhost)^ http://localhost:8080 (localhost)^ deployment with Nomad, Consult Connect and Vault (archive.org)^ Debug golang app in monorepo (github.com)^ Development project trouble shooting (github.com)^ https://github.com/thangchung/go-coffeeshop (github.com)^ thangchung (github.com)

weiterlesen: RSS Quelle öffnen