-
Book Overview & Buying
-
Table Of Contents
Modern REST API Development in Go
By :
Modern REST API Development in Go
By:
Overview of this book
Modern REST API Development in Go is a hands-on guide to understanding and applying REST principles using Go’s powerful standard library. In an era where interconnected systems demand robust and performant APIs, Go offers the perfect combination of simplicity, performance, and tooling to build modern backend services.
This book is centered around a complete, real-world REST API project and guides you through every stage of the development process, from building HTTP handlers to applying authentication and generating OpenAPI documentation. You’ll learn to structure your application, handle persistence with common libraries like GORM and Squirrel, apply observability patterns through logging and tracing, and ensure code quality through unit and integration tests. Each concept is grounded in REST theory and backed by idiomatic Go practices, enabling you to build APIs that are not only functional but production-ready. By the end of the book, you’ll be ready to design, build, and maintain REST APIs in Go.
Table of Contents (18 chapters)
Preface
Introduction to APIs
Exploring REST APIs
Building a REST Client
Designing Your REST API
Authentication and Authorization
Data Persistency
API Security
API Performance
Deploying Your API
Testing
Documenting with OpenAPI
Metrics, Logs, and Traces
Using GORM
Using the Echo Framework
Unlock Your Book’s Exclusive Benefits
Other Books You May Enjoy
Index