Building a web API in Go involves more than choosing a router. This second edition of Hands-On RESTful Web Services with Go follows the work outward—from HTTP routes and handlers to databases, asynchronous jobs, deployment, and security—so readers can see how the pieces of a service fit together.
Naren Yellavula uses practical examples to introduce REST API development and then expand into the patterns and tools used in more involved Go services. The result is a broad, hands-on tour for developers ready to move beyond isolated endpoints.
Start with the building blocks of a Go API
The opening chapters cover REST fundamentals, HTTP methods and status codes, routing, middleware, and RPC. Examples introduce Go’s standard HTTP tools alongside routing libraries and frameworks, helping readers compare different ways to organize request handling and service behavior.
Connect services to data and other systems
Worked examples bring in SQLite, MongoDB, and PostgreSQL, alongside JSON, protocol buffers, and gRPC. The book also explores building a REST API client, caching data, and designing asynchronous or event-driven work with queues. These topics show how an API’s responsibilities can extend well beyond receiving a request and returning a response.
Explore architecture, deployment, and security
Later material takes up GraphQL, microservices, containerized services, cloud deployment, infrastructure as code, and API authentication. Together, these chapters offer a wider view of the decisions involved in developing and operating web services—not just writing their handlers.
Who may find it useful?
This book is chiefly for Go developers who want to build REST APIs and understand the surrounding application patterns. Developers who already know REST and are learning Go may also appreciate its examples across frameworks, databases, and service architectures.
For a developer looking to connect Go’s HTTP foundations with the broader work of designing and deploying APIs, this edition provides a substantial set of concepts and examples to explore.
User Reviews
Be the first to review “Hands-On RESTful Web Services with Go: Develop Elegant RESTful APIs with Golang for Microservices and the Cloud, Second Edition”
You must be logged in to post a review.
Original price was: $27.89.$13.95Current price is: $13.95.

There are no reviews yet.