What this book covers

Chapter 1, Getting Started with REST API Development, discusses the fundamentals of REST architecture and verbs.

Chapter 2, Handling Routing for Our REST Services, describes how to add routing to our API.

Chapter 3, Working with Middleware and RPC, is about working with middleware handlers and basic RPC.

Chapter 4, Simplifying RESTful Services with Popular Go Frameworks, presents quick prototyping API with frameworks.

Chapter 5, Working with MongoDB and Go to Create REST API, explains how to use MongoDB as the database for our API.

Chapter 6, Working with Protocol Buffers and gRPC, shows how to use Protocol buffers and gRPC to obtain performance boost over HTTP/JSON.

Chapter 7, Working with PostgreSQL, JSON, and Go, explains the benefits of PostgreSQL and a JSON store for creating APIs.

Chapter 8, Building a REST API Client in Go and Unit Testing, presents techniques for building client software and API testing with unit tests in Go.

Chapter 9, Scaling Our REST API Using Microservices, is about breaking our API service into microservices using Go Kit.

Chapter 10, Deploying Our REST Services, shows how we can deploy services built on Nginx and monitor them using supervisord.

Chapter 11, Using an API Gateway to Monitor and Metricize REST API, explains how to make our services production grade by adding multiple APIs behind API Gateway.

Chapter 12, Handling Authentication for Our REST Services, discusses securing our API with basic authentication and JSON Web Tokens (JWT).