TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Building a Dockerized RESTful API Application Using Go – Microservices

2 点作者 dumindunuwan超过 5 年前

1 comment

dumindunuwan超过 5 年前
Hi,<p>This is the very beginning of this series. As the first step, we are going to discuss about “How to build a Dockerized RESTful API application using Go”.<p>In this post, we are discussing,<p>1. Creating a new Go project.<p>2. Adding initial HTTP server.<p>3. Adding initial Docker files.<p>4. Adding initial configurations.<p>5. Adding Chi router.<p>6. Adding Zerolog logger.<p>7. Adding DB docker file.<p>8. Adding initial database migrations.<p>9. Adding GORM.<p>10. Adding initial books API routes.<p>11. Implementing RESTful handlers.<p>12. Adding Validator.v9.<p>The completed project can be found in <a href="https:&#x2F;&#x2F;github.com&#x2F;learning-cloud-native-go&#x2F;myapp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;learning-cloud-native-go&#x2F;myapp</a> repository. And I’ll upload the same content to <a href="https:&#x2F;&#x2F;learning-cloud-native-go.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learning-cloud-native-go.github.io&#x2F;</a> which uses Docusaurus in the upcoming days. Hope it will be more structured and easy to see the big picture.<p>Also, I am not a native English speaker. So, if you found any mistake or something I need to be changed, even a spelling or a grammar mistake, please let me know.<p>⭐ Contribute! : <a href="https:&#x2F;&#x2F;github.com&#x2F;learning-cloud-native-go&#x2F;website" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;learning-cloud-native-go&#x2F;website</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;learning-cloud-native-go&#x2F;myapp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;learning-cloud-native-go&#x2F;myapp</a><p>⭐ Buy me a coffee! : <a href="https:&#x2F;&#x2F;www.buymeacoffee.com&#x2F;dumindu" rel="nofollow">https:&#x2F;&#x2F;www.buymeacoffee.com&#x2F;dumindu</a><p>⭐ Hire me! : <a href="https:&#x2F;&#x2F;github.com&#x2F;dumindu&#x2F;hire-me&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dumindu&#x2F;hire-me&#x2F;</a><p>Thanks