E-book details

Modern REST API Development in Go. Design performant, secure, and observable web APIs using Go's powerful standard library

Modern REST API Development in Go. Design performant, secure, and observable web APIs using Go's powerful standard library

Jesús Espino

Ebook
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.
  • 1. Introduction to APIs
  • 2. Exploring REST APIs
  • 3. Building a REST Client
  • 4. Designing Your REST API
  • 5. Authentication and Authorization
  • 6. Data Persistency
  • 7. API Security
  • 8. API Performance
  • 9. Deploying Your API
  • 10. Testing
  • 11. Documenting with OpenAPI
  • 12. Metrics, Logs, and Traces
  • 13. Using GORM
  • 14. Using the Echo Framework
  • Title: Modern REST API Development in Go. Design performant, secure, and observable web APIs using Go's powerful standard library
  • Author: Jesús Espino
  • Original title: Modern REST API Development in Go. Design performant, secure, and observable web APIs using Go's powerful standard library
  • ISBN: 9781836205364, 9781836205364
  • Date of issue: 2025-08-20
  • Format: Ebook
  • Item ID: e_4ioo
  • Publisher: Packt Publishing