Giter Site home page Giter Site logo

grpc's Introduction

Dreams of Code gRPC

This project provides the source code for the gRPC video by Dreams of Code.

Video instructions

In order to install protobuf on your own machine, you can use the following commands

macOS

$ brew install protobuf protoc-gen-go protoc-gen-go-grpc

alternatively you can install the protoc plugins using golang

$ go install google.golang.org/protobuf/cmd/[email protected]
$ go install google.golang.org/grpc/cmd/[email protected]

Arch Linux

$ pacman -S protobuf

Plugins

Using yay

$ yay -S protoc-gen-go protoc-gen-go-grpc

Using golang

$ go install google.golang.org/protobuf/cmd/[email protected]
$ go install google.golang.org/grpc/cmd/[email protected]

GRPC Clients

In this video, I use grpcui and grpcurl

Calculator

The calculator code can be found in the ./calulator directory.

You can also deploy an instance of it yourself on acorn by clicking the following button:

Run in Acorn

Pokedex

The Pokedex API can be found in the ./pokemon-api directory.

You can also deploy an instance of it yourself on acorn by clicking the following button:

Run in Acorn

Disabling TLS

When writing gRPC code, you can disable tls by using the following lines

opts := []grpc.DialOption{
    grpc.WithTransportCredentials(insecure.NewCredentials())
}

If you're wanting to connect locally, you'll need to use the -plaintext flag with both grpcui and grpcurl

grpc's People

Contributors

elliottminns avatar boilingsoup avatar

Stargazers

Gustavo B. avatar  avatar Alejandro Perez avatar Yannam C Chiranjeevi avatar Iulian Mandache avatar  avatar Bărbuț-Dică Sami avatar Sean Welch avatar  avatar Raf Vanpuyvelde avatar Franklin Byaruhanga avatar daniel avatar Shrawan avatar Pedro Mateus avatar ysfdev avatar Ömer Çengel avatar Bharat Kathi avatar Piyush Eklavya avatar Ryan avatar Becca Cardwell avatar Jeffrey Wu avatar Abhishek Ghosh avatar Bijaya Prasad Kuikel avatar James Birtwell avatar Mike Dula avatar Luqman avatar  avatar Alexander Weber avatar Eden dattox avatar Vighnesh Raut avatar Shivam Mishra avatar David avatar Samuel Junior avatar Jardel Weyrich avatar tinyzero4 avatar James Sizeland avatar Mohammad avatar Lucas Martins dos Santos avatar Hà Minh Chiến avatar Tornike Razmadze avatar Wade avatar Houssene Dao avatar Joel avatar Farras Abdulaziz El-Fahd avatar sezer avatar Martin Maritim avatar ハン / Han avatar  avatar Adam S avatar  avatar Pradyumna Chatterjee avatar Everton Brzozowy Alves avatar Martins, F. avatar Jean-François DI RIENZO avatar Johno Scott avatar Tim Nicklas avatar omusamurai avatar João Paulo avatar Lark avatar astrolemonade avatar Henning Dahlheim avatar Fabrice Boyer avatar Stefan Asandei avatar  avatar Tobi DEGNON avatar

Watchers

daniel avatar  avatar

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.