- Notifications
You must be signed in to change notification settings - Fork2
go-masonry/tutorial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NOTE This tutorial is outdated, instead read here:https://go-masonry.github.io and use thistemplate
This tutorial will explain how to build a gRPC web service usinggo-masonry/mortar step by step.
- You should be familiar withProtobuf,gRPC andREST /Swagger
- Install everything related to
gRPC
startinghere
- Install everything related to
- You should understand whatDependency Injection is
- Have access toJaeger service -Optional
- Have access toPrometheus -Optional
- Tutorial service API
- Project structure and business logic
- Dependency Injection and Mortar
- Wiring/Instrumentation of everything together
- Mortar Middleware (Tracing, Monitoring, etc)
- Tests example
- Makefile
You can create a local git repository and copy01-api to it. Once you seen/understand the code, commit. Then copy02-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.
Read the docs of all 7 parts described above and clone thealternate-example. You'll find there almost the same code organized in a different way: there are 2 independent microservices and common module.
About
step-by-step tutorial on how to build gRPC server with mortar
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors2
Uh oh!
There was an error while loading.Please reload this page.