Tutorial

step-by-step tutorial on how to build gRPC server with mortar
Alternatives To Tutorial
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Grpc Gateway15,1924,659a day ago385August 06, 2022114bsd-3-clauseGo
gRPC to JSON proxy generator following the gRPC HTTP spec
Docker Protoc622
19 days ago28bsd-3-clauseShell
Docker images for generating protocol buffer definitions
Grpc Websocket Proxy4972,1273 months ago8April 27, 202014mitGo
A proxy to transparently upgrade grpc-gateway streaming endpoints to use websockets
Grpc Example389
a year agoMay 26, 2021otherGo
An example of using Go gRPC and tools from the greater gRPC ecosystem together with the GoGo Protobuf Project.
Grpc Gateway Boilerplate351
4 months ago6March 17, 2021mitGo
All the boilerplate you need to get started with writing grpc-gateway powered REST services in Go
Turbo298
6 months ago7January 14, 20219mitGo
A lightweight microservice tool, turn your grpc|thrift APIs into HTTP APIs!
Clay2736a month ago55August 12, 20218mitGo
Proto-first minimal server platform for gRPС+REST+Swagger APIs
Ovpm266
2 years ago32April 27, 202115agpl-3.0Go
OpenVPN Management Server - Effortless and free OpenVPN server administration
Converge247
2 years agoFebruary 24, 2017113otherGo
A powerful and easy-to-use configuration management system.
Rules_protobuf203
4 years ago1October 26, 20182otherPython
Bazel rules for building protocol buffers and gRPC services (java, c++, go, ...)
Alternatives To Tutorial
Select To Compare


Alternative Project Comparisons
Readme

Tutorial

NOTE This tutorial is outdated, instead read here: https://go-masonry.github.io and use this template

This tutorial will explain how to build a gRPC web service using go-masonry/mortar step by step.

Prerequisites

How to read this tutorial

There are 7 parts in this tutorial, each part adds on top of previous one

  1. Tutorial service API
  2. Project structure and business logic
  3. Dependency Injection and Mortar
  4. Wiring/Instrumentation of everything together
  5. Mortar Middleware (Tracing, Monitoring, etc)
  6. Tests example
  7. Makefile

You can create a local git repository and copy 01-api to it. Once you seen/understand the code, commit. Then copy 02-api contents to your directory. This will overwrite some code.

Repeat for each subsequent part. This way you will have git to show you what actually changed.

*** Make sure to adjust imports accordingly.

Alternate way to pass through tutorial

Read the docs of all 7 parts described above and clone the alternate-example. You'll find there almost the same code organized in a different way: there are 2 independent microservices and common module.

Popular Grpc Projects
Popular Grpc Gateway Projects
Popular Application Programming Interfaces Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Go
Tutorial
Grpc
Grpc Gateway