Coder Social home page Coder Social logo

amsokol / go-grpc-http-rest-microservice-tutorial Goto Github PK

View Code? Open in Web Editor NEW
312.0 11.0 104.0 106 KB

Source code for tutorial "How to develop Go gRPC microservice with HTTP/REST endpoint, middleware, Kubernetes deployment, etc."

Home Page: https://medium.com/@amsokol.com/tutorial-how-to-develop-go-grpc-microservice-with-http-rest-endpoint-middleware-kubernetes-daebb36a97e9

License: Apache License 2.0

go golang grpc http rest api tutorial microservice

go-grpc-http-rest-microservice-tutorial's Introduction

go-grpc-http-rest-microservice-tutorial

Source code for tutorial "How to develop Go gRPC microservice with HTTP/REST endpoint, middleware, Kubernetes deployment, etc."

Source code for Part 1

Source code for Part 2

Source code for Part 3

go-grpc-http-rest-microservice-tutorial's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-grpc-http-rest-microservice-tutorial's Issues

timestamp

Hi Aleksandr,

I'm getting reminder field has invalid format ->timestamp: nil Timestamp when trying to start the client. I've tried troubleshooting this, all the code is correct and there are very few docs online.

B.

./third_party/protoc-gen.sh: command not found

Hi Aleksandr,

I am running through your medium post for this and keep getting an error when I try to execute ./third_party/protoc-gen.sh. I get the error ./third_party/protoc-gen.sh: command not found.

I have check that protoc --version is working and the protoc-gen-go is in the bin. The go/bin is in the $PATH.

Not sure what else is going wrong here, any ideas?

Best
Chris

Shouldn't `/pkg/services/v1/` be in `/internal/app-name/` directory?

If i am reading Standard Project Layout repo right, then /pkg/* contains only reusable packages like /pkg/errors, /pkg/logger, /pkg/metrics, /pkg/tracing, etc... those are packages which could be imported in other projects (public).
But, it looks to me that /pkg/service/v1/todo-service.go is something that is not reusable and should sit in /internal/todo/todo-service.go?
I know that "it depends" and "use whatever suits your needs" etc, etc... just trying to put various pieces together to layout structure for CQRS microservice architecture. Want to understand where the actual per-service logic should go and how to in general structure all those services.

Getting error while execution of protoc-gen.cmd

Getting below error while the executing the protoc-gen.cmd file:-

protoc-gen-grpc-gateway: program not found or is not executable
 — grpc-gateway_out: protoc-gen-grpc-gateway: Plugin failed with status code 1.
protoc-gen-swagger: program not found or is not executable
 — swagger_out: protoc-gen-swagger: Plugin failed with status code 1.

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.