feat: create a practical_grpc slide

This commit is contained in:
JasterV 2025-10-27 17:59:13 +01:00
commit d1d6972544
3 changed files with 55 additions and 5 deletions

View file

@ -213,7 +213,7 @@ body .slides-header {
margin: var(--r-block-margin) auto; margin: var(--r-block-margin) auto;
text-align: left; text-align: left;
font-family: var(--r-code-font); font-family: var(--r-code-font);
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.30); box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
max-width: 60%; max-width: 60%;
} }
@ -256,6 +256,8 @@ body .slides-header {
.row { .row {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center;
gap: 3em;
} }
.column { .column {

View file

@ -4,10 +4,8 @@ Hack to force mkslides to compile the images you want to use in the base templat
--> -->
<img width="0" src="assets/images/prima-logo-text.svg" /> <img width="0" src="assets/images/prima-logo-text.svg" />
<div class="heading"> <h1>Learning gRPC</h1>
<h1>Learning gRPC</h1> <p>Victor Martinez</p>
<p>Victor Martinez</p>
</div>
--- ---

50
docs/practical_grpc.md Normal file
View file

@ -0,0 +1,50 @@
<h1>A practical guide on gRPC</h1>
<p>Victor Martinez</p>
---
<h2>Contents</h2>
<div class="row">
<div>
+ Ingredients to build a gRPC API
+ Defining our API with Protocol Buffers
+ Defining a request
+ Defining a response
+ About backwards compatibility
+ Defining a service
+ Generate a Rust library
+ Manual project setup
+ Build script
+ Exposing a library
+ Supporting multiple tonic versions
+ CI/CD
+ The Buf tool
+ Checking for breaking changes
+ How to release
</div>
<div>
+ Implementing a gRPC service
+ Implementing the service trait
+ Parsing requests
+ Error handling
+ Building a gRPC server
+ Authentication
+ Tracing
+ Running our server
+ How to deploy
+ How to call our server
+ Creating a gRPC client
+ Authentication
+ Response handling
+ How is it going so far
+ Users
+ Metrics
</div>
</div>