
Explore how http2 revolutionizes web communication by enabling a single long‑lived connection, multiplexing, and server push, with binary headers and SSL by default, pairing seamlessly with gRPC and protocol buffers.
gRPC scales with asynchronous server processing that keeps the main thread unblocked and handles requests in parallel; clients can choose asynchronous or synchronous responses, as Google's 10 billion rps shows.
Explore how gRPC secures communication through binary, schema-based serialization, easy TLS connections with SSL encryption, and interceptors for authentication, making gRPC a secure framework.
See how gRPC generates code from Protocol Buffers, letting you define the API freely while TLS security and authentication interceptors protect data, with client, server, and bidirectional streaming beyond rest.
Create a node.js gRPC server boilerplate by building a server folder with index.js, implementing main and cleanup, binding on localhost with insecure credentials, and handling ctrl-c for clean shutdown.
Define a gRPC primes api endpoint in node, stream prime responses from server to client, implement using primes proto, and run a full prime decomposition pipeline.
Implement a bidirectional streaming client for the greet everyone endpoint in a gRPC Node.js microservices setup, using a data event stream and client streaming patterns to print hello messages.
Set up blog boilerplate by configuring docker-compose with mongo and mongo express, creating blog server and client, defining blog proto, and adding scripts to spin up database and generate pb.
Define the list blogs endpoint on the server in a Node.js gRPC masterclass. Implement a server streaming flow that finds blogs, maps them to messages, and writes to the client.
Implement the delete blog endpoint on the server side, map blog id to an object id, delete by id, handle not found and acknowledged writes, and return an empty response.
gRPC is a new and modern framework for building scalable, modern and fast API. It is leveraged by many top tech companies such as Google, Square and Netflix and enables programmers to write microservices in any language they want while keeping the ability to easily create communications between these services. It relies on Protocol Buffers for the transport mechanism and Service Definition language.
In this course, we are going to explore in-depth, with hands-on lectures, all the aspects to get started with gRPC.
This course is hands-on and you will implement two services: Greet and a Calculator Service
In just a few hours, you will know everything you need to know to write your .proto files, generate code in your Favourite Programming, and implement your services, servers, and client in NodeJS. There will be plenty of hands-on lectures and exercises for you to practice your newly acquired skills.
It's time to say goodbye to slow and clunky REST API, and opt-in for a better API framework.
gRPC Node.JS Master Class is the best way to get a great overview of all the possibilities offered by gRPC with your favorite language
> Learn the gRPC theory to understand how gRPC works
> Compare gRPC and REST API paradigm
> Write your gRPC service definition in .proto files
> Generate Server and Client Code in JavaScript
> Implement Unary, Server Streaming, Client Streaming and Bi-Directional Streaming API
> Practice your learning with Exercises and Solutions
> Implement advanced concepts such as Error Handling, Deadlines and SSL Security
> Implement a full CRUD API on top of MongoDB
> Get pointers to expand your learning journey and get inspired by real-world gRPC services
Note: This course expects you have some preliminary knowledge about Protocol Buffers and NodeJS.
Section outline:
gRPC Course Overview: Get an understand of the course objectives, how the course is structured, download the course code and get ready!
[Theory] gRPC Internals Deep Dive: Learn how gRPC works behind the scenes. Learn about HTTP/2, Protocol Buffers efficiencies, and the differences of gRPC and REST.
[Hands-On] gRPC Project Overview & Setup: Setup your project using NPM and learn how to trigger code generation
[Hands-On] gRPC Unary: API description and implementation
[Hands-On] gRPC Server Streaming: API description and implementation
[Hands-On] gRPC Client Streaming: API description and implementation
[Hands-On] gRPC Bi-Directional Streaming: API description and implementation
[Hands-On] gRPC Advanced Features Deep Dive: Advanced features such as Error Handling, Deadlines, SSL Security.
Next Steps: Some useful real-world links and where to take your learning from here
Instructor
My name is Clément Jean, and I'll be your instructor in this course. I teach about Protocol Buffers and gRPC with my focus always on helping my students improve their professional proficiencies. I am also the author of some of the most highly-rated and best-selling courses.
With development being a widely accepted and pursued career, I've decided it's time for students to properly learn about gRPC. So, let’s kick start the course! You are in good hands!
This Course Also Comes With:
Lifetime Access to All Future Updates
A responsive instructor in the Q&A Section
Links to interesting articles, and lots of good code to base your next template onto
Udemy Certificate of Completion Ready for Download
A 30 Day "No Questions Asked" Money Back Guarantee!
I hope to see you inside the course!