Mastering Microservices: The Power of Effective Communication

The way you communicate, Does It Affect Your Way of Life? Certainly it does, communication is essential for understanding each other; nearly every living organism relies on it. While that’s not our topic today, it’s crucial to consider how communication impacts distributed systems. So, what happens when hundreds of services need to interact with each other? How do you manage this in your daily work? Are your services becoming overly chatty and tangled, like a plate of spaghetti? ...

September 16, 2024 · 6 min · Saddam H

Generate API Documentation Easily with Docgen: A Simple, Open-Source Tool

In this tutorial, I’ll introduce you to an open-source tool that can help you create awesome API documentation effortlessly! If you’re working with REST APIs and exposing them through HTTP/JSON, chances are you’re already using Postman to test, debug, and manage collections. When collaborating with teams—especially with Android or iOS developers—you often need to share your API documentation. Typically, this involves sharing the Postman collection in JSON format along with handwritten documentation to describe the API. ...

May 15, 2020 · 2 min · Saddam H

Query JSON data using Golang (gojsonq package)

Most often developer needs to consume JSON data from other service and query over them. Querying JSON data is little time consuming. For the last few days I was working on a package for Golang to query JSON data easily. The idea and inspiration comes form PHP-JSONQ by Nahid Bin Azhar. Lets take a sample JSON data to start with: Now we are ready to query the data, lets see some examples ...

May 29, 2018 · 2 min · Saddam H

Let’s make a simple todo app with Go

Generally Go is perfect for building micro services, but it doesn’t mean that trivial MVC app are not easy to build. Go has built-in support for parsing html template, though we are not going to focus on that. First of all let’s write our go code for serving a html page and save it in a directory. In our case let’s call the directory todoapp and create a home.tpl file inside it. Paste the html in home.tpl, it doing some http call to our backend application. ...

November 24, 2017 · 5 min · Saddam H