gRPC API Development and Testing
You will learn how to implement gRPC-based APIs in this chapter. You will learn how to write the gRPC server and client along with writing APIs based on gRPC. In the later part of this chapter, you will be introduced to microservices and see how they can help you to design modern, scalable architecture.
You will also go through the implementation of two services – the gRPC server and the gRPC client. gRPC-based APIs are more popular and preferred over REST APIs for service-to-service communication in a microservice-based system. Hence, gRPC development skills are important in the API space.
After completing this chapter, you will be well versed in the gRPC server and client development, gRPC-based API testing automation, and microservice concepts.
You will explore the following topics in this chapter:
- Writing an API
- Developing the gRPC server
- Handling errors
- Developing the gRPC client
- Learning microservice concepts...