Code Monkey home page Code Monkey logo

grpc-demo-monorepo's Introduction

Welcome to gRPC-Demo-Apps ๐Ÿ‘‹

License: MIT Twitter: jellydn

Grpc Demo Apps with Go/NodeJS

IT Man - Tech #36 - gRPC 101

Prerequisites

  • node >=18.0.0
  • go >= 1.19
  • protoc: Protocol Buffer Compiler Installation
  • buf:A new way of working with Protocol Buffers.
  • grpcurl: Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

Install

yarn install

Generate code from .proto files

yarn proto:types

Usage

yarn dev

Applications

  • hello: simple Typescript implementation of hello world RPC from gRPC nodejs example.

https://gyazo.com/23244180cb415bbc57bebbf4e9599a74.gif

https://gyazo.com/ac564703c07b4e011e6bbe7883ee021d.gif

https://gyazo.com/4c8dae4294ca82b4bb12fe8ca78106e5.gif

  • hello-twirp: hello service written in Go with twirp.

https://gyazo.com/ba2f444ff2bc17ad25ebce84eae4ef7f.gif

  • modern-hello: the rewrite version of hello app with protobuf-es

https://gyazo.com/527ea9740b4c94a6acee0d81917cd355.gif

  • web: a hello nextjs 13 app with 2 Grpc services

https://gyazo.com/e80cc51056ad95f0cf51869d3d5b3d20.gif

More detail of each readme file on each application.

Resources

  • grpc: A high performance, open source universal RPC framework.
  • twirp: A simple RPC framework with protobuf service definitions.
  • protobuf-es:Protocol Buffers for ECMAScript.
  • bufbuild/connect-es Connect, gRPC, and gRPC-Web support for Protobuf and TypeScript.
  • connect-go: Simple, reliable, interoperable. A better gRPC.
  • @grpc/grpc-js: Pure JavaScript gRPC Client
  • @grpc/proto-loader: A utility package for loading .proto files for use with gRPC, using the latest Protobuf.js package.
  • grpc-web: gRPC Web implementation for Golang and TypeScript
  • proto-client: A typed gRPC Client with static code generation
  • deeplay-io/nice-grpc: A TypeScript gRPC library that is nice to you
  • SafetyCulture/grpc-web-devtools: Chrome & Firefox Browser extension to aid gRPC-Web development

Useful References

How does gPRC Work?

Thank you for the images from bytebytego.

grpc

grpc

Author

๐Ÿ‘ค Dung Huynh

Show your support

kofi paypal buymeacoffee

Stargazers repo roster for @jellydn/grpc-demo-monorepo

Give a โญ๏ธ if this project helped you!

grpc-demo-monorepo's People

Contributors

renovate[bot] avatar jellydn 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.