GithubHelp home page GithubHelp logo

Comments (6)

H0llyW00dzZ avatar H0llyW00dzZ commented on July 28, 2024 2

Tell us about your feature request

Hi maintainers, first of all love the boilerplate. Just started with Go few weeks ago. I was wondering if a Grpc setup can be added to it just like nestjs does. I know that's a framework and all but since its generating a set of tools to get started quickly like a framework does in a sense. Would It be possible? Its a good to have IMO.

Disclaimer

  • I agree

It is possible; however, GRPC is unlike other. It has some limitations, especially for code generation using protoc.

If you are looking to get started quickly, you can take a look at my repository about GRPC/PROTO here.

from go-blueprint.

Ujstor avatar Ujstor commented on July 28, 2024 1

We are on board if somebody wants to implement it in Blueprint as an Advanced flag.

https://github.com/twitchtv/twirp Seems like a good framework to go with.

There is also another ticket where we discussed this #215

from go-blueprint.

syedolive avatar syedolive commented on July 28, 2024 1

We are on board if somebody wants to implement it in Blueprint as an Advanced flag.

https://github.com/twitchtv/twirp Seems like a good framework to go with.

There is also another ticket where we discussed this #215

I'm gonna look into it. I'm fairly new to go but GRPC is universal for me like json as I have been using grpc communication from Nestjs to go. And since we're planning for a transition to go and replacing smaller service to go. This blueprint would be a heaven breeze for me.

from go-blueprint.

syedolive avatar syedolive commented on July 28, 2024

Tell us about your feature request

Hi maintainers, first of all love the boilerplate. Just started with Go few weeks ago. I was wondering if a Grpc setup can be added to it just like nestjs does. I know that's a framework and all but since its generating a set of tools to get started quickly like a framework does in a sense. Would It be possible? Its a good to have IMO.

Disclaimer

  • I agree

It is possible; however, GRPC is unlike other. It has some limitations, especially for code generation using protoc.

If you are looking to get started quickly, you can take a look at my repository about GRPC/PROTO here.

Hey man, I do have grpc setup and since I use Ubuntu, protoc is not a problem for me. I just thought having a setup for grpc and providing protoc instructions at the end of the installations would be cool. I'm pretty sure people working with go are mature enough to set those up by themselves.

from go-blueprint.

Ujstor avatar Ujstor commented on July 28, 2024

Perfect, I am assigning this to you. Implementation needs to integrate into the overall project without conflicting with other components. Some way for the user to test the endpoint would be nice. The goal is to showcase how to integrate gRPC and provide a starting point.

from go-blueprint.

ashupednekar avatar ashupednekar commented on July 28, 2024

Hi, if we can figure out a way to keep the generated pb wrappers in an abstracted manner, should be doable.
I've done something similar for python (link).

Should be cleaner and simpler in go cuz of the package structure... shall I give it a go ?

from go-blueprint.

Related Issues (20)

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.