<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws" -->

---
title: Modern API design with Golang, PostgreSQL and Docker
description: Go is a powerful language that's highly performant and has concurrency built in the language itself making it perfect for micro services. This article is aimed...
canonical: https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Modern API design with Golang, PostgreSQL and Docker | daily.dev
og:description: Go is a powerful language that's highly performant and has concurrency built in the language itself making it perfect for micro services. This article is aimed...
og:url: https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws
og:image: https://api.daily.dev/og/posts/GmTpgCBws.png
og:image:alt: Modern API design with Golang, PostgreSQL and Docker
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Modern API design with Golang, PostgreSQL and Docker

**[Community Picks](https://daily.dev/sources/community)** · 15 min read · 55 upvotes · 2 comments

## Summary

Go is a powerful language that's highly performant and has concurrency built in the language itself making it perfect for micro services. This article is aimed at anyone who wants to build a CRUD micro service or a simple RESTful API using Go (or Golang for SEO purposes) You can find all the code in my repository.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://bognov.tech/modern-api-design-with-golang-postgresql-and-docker>

## Community discussion

Top comments from developers on daily.dev.

**@zackarisl** · 1 upvotes

> Great article and guide , thank you

**@sealtiel** · 1 upvotes

> Great post! Your guide on modern API design with Golang, PostgreSQL, and Docker is extremely informative and well-written. Thank you for sharing your expertise and providing valuable insights for others to learn from.

---

Tags: [#database](https://daily.dev/tags/database), [#golang](https://daily.dev/tags/golang), [#postgresql](https://daily.dev/tags/postgresql), [#docker-compose](https://daily.dev/tags/docker-compose)

[View this post on daily.dev](https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Modern API design with Golang, PostgreSQL and Docker","url":"https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws"},"datePublished":"2023-01-30T07:14:30.826Z","dateModified":"2023-12-07T12:02:45.284Z","description":"Go is a powerful language that's highly performant and has concurrency built in the language itself making it perfect for micro services. This article is aimed...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/efee69fd85edc01f819650b2e03debd0","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/efee69fd85edc01f819650b2e03debd0","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":55},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"database,golang,postgresql,docker-compose","timeRequired":"PT15M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Modern API design with Golang, PostgreSQL and Docker"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/modern-api-design-with-golang-postgresql-and-docker-gmtpgcbws","comment":[{"@type":"Comment","text":"Great article and guide , thank you","datePublished":"2023-09-30T20:22:27.063Z","url":"https://daily.dev/posts/GmTpgCBws#c-JmTQNYBt6","author":{"@type":"Person","name":"Zakaria sl","url":"https://daily.dev/zackarisl","image":"https://avatars.githubusercontent.com/u/79061155?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Great post! Your guide on modern API design with Golang, PostgreSQL, and Docker is extremely informative and well-written. Thank you for sharing your expertise and providing valuable insights for others to learn from.","datePublished":"2023-02-05T23:24:13.273Z","url":"https://daily.dev/posts/GmTpgCBws#c-1gx9_brY6","author":{"@type":"Person","name":"Sealtiel","url":"https://daily.dev/sealtiel","image":"https://lh3.googleusercontent.com/a/AEdFTp4zuPbSQ8_9oeyg0uMS4mVlwdLgPhCjpX4rnhSC1JE=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

