Photo by Andrew Tanglao on Unsplash

What makes a good API?

While a cup of coffee may seem like its two parts of hot water and coffee grinds there is much more to it. The same can be said for a well designed API. A good API does more then just taking input and returning output. It offers a few key items that make it enjoyable and easy to work with. These few key items can sometimes be overlooked or not get the extra polish they deserve which detract from the API....

September 21, 2020 · David Dymko

Json API errors with GO

I spend a lot of time writing microservices in Go. Therefore, I found myself needing a concrete way to hand errors back to the client that was predictable and repeatable. So I decided to follow the error response structure from https://jsonapi.org/format/#errors. This spec makes it very clear and concise to where the client can always expect a well formatted response that will never stray. A few notable takeaways with this spec are:...

November 25, 2018 · David Dymko