How and Where to Handle Exceptions While Maintaining a Great API | by Stuff from Cello | Aug, 2022

Why I prefer the exception-less approach via the Result pattern Exception handling is not easy. It can be done in the wrong places, it can be done the wrong way, and it can even be forgotten completely. The best we can do to help our fellow developers with that problem is to design our API … Read more

React Reusable API Calls With Custom Hooks | by Stefan Mares | Aug, 2022

Using Typescript obviously Photo by Tatiana Rodriguez on Unsplash Table of contents: HTTP provides a set of methods through which web browsers can communicate with web servers. There are 4 popular/well-known methods: GET, POST, PUT, and DELETE. We will discuss GET and POST in this article, but there are much more. GET: As the name … Read more

Debugging a Node js Express API in VS Code Debug

Why When we create software, we rarely do it without errors. API creation isn’t exempt from this fact, so sooner or later, we’ll need to debug it. In JavaScript, the first stop for a debugging task is often logging to the consolebut using a debugger can give us a more integrated experience. Node js is … Read more

CarePet Tutorial: An Example IoT Use Case with Go and ScyllaDB

To help people get started with ScyllaDB NoSQL, we published CarePet: a project that demonstrates a generic Internet of Things (IoT) use case. The application is written in Go and allows tracking of pets’ health indicators. It consists of three parts: A collar that reads and pushes sensors data A web app for reading and … Read more

Simplify Your Microservices Architecture: Data API

This is an article from DZone’s 2022 Microservices and Containerization Trend Report. For more: Read the Report Have you encountered challenges in how to manage data in a microservices architecture? In this article, we examine traditional approaches and introduce the data API gateway (also sometimes known as a “data gateway”), a new type of data … Read more

Backend-for-Frontend: The Demo – DZone Microservices

In one of my earlier posts, I described the Backend-for-Frontend pattern. In short, it offers a single facade over multiple backend parts. Moreover, it provides each client type, eg desktop, mobile, exactly the data that it needs and not more in the format required by this client type. The Use-case Imagine the following use case. … Read more

How to Convert a PDF to Text (TXT) Using Java

There is perhaps no file type more ubiquitous (by design) than the Portable Document Format (PDF). Capable of holding an impressive variety of content/object types and work seamlessly on any operating system you can think of, PDFs dominate personal and professional project landscapes as a destination format for bulky and/or specially formatted files. File types … Read more

Time-Tracking via the Telegram Bot API and Webhooks | by Martin Gartner | Aug, 2022

How my search for the ideal time tracking tool ended with a surprising result Image from Unsplash by Bred Neathery In this article, I want to present a way to track your time using Telegram’s Bot API and Webhooks. I will guide you through the setup, configuration, and deployment. But first, let’s look at how … Read more

What is an API? Application programming interfaces explained

The term API stands for application programming interface, a concept that applies everywhere from command-line tools to enterprise code, microservices, and cloud-native architectures. An API is an interface that software developers use to programmatically interact with software components or resources outside of their own code. An even simpler definition is that an API is the … Read more