The post outlines the process of building and deploying an API using Go, PostgreSQL, Google Cloud Run, and CockroachDB. It provides detailed steps for setting up a local PostgreSQL database, creating an API server with Go, managing middleware and routes, handling error structures, caching, and deploying on Google Cloud Run. Additionally, it includes instructions for integrating with CockroachDB and using Google Secret Manager for managing sensitive data like certificates.

16m read timeFrom towardsdev.com
Post cover image
Table of contents
Building an API with Go, PostgreSQL, Google Cloud and CockroachDBThe Domain Model1. Setting Up The Local PostgreSQL DB2. Creating the Go Server

Sort: