In this article, we will create a simple and comprehensive way of logging our application behavior and data by using text styling and emojis in TypeScript and Node.js.
This article came from the need I had when building a script that would fetch the status of users from a database and create a simple report with the returned status in the console.
Software development is a way to build experiences for end-users and sometimes we as software engineers are our own end users. …
I just have to put this one into words so it will be short and sweet… I hope.
I bet you were already in a meeting where slides were packed with acronyms, they were everywhere, in the text, in the diagrams, and every time somebody speaks… there you go, acronyms flying over from their speech. Acronyms everywhere!
I think it’s time to stop and give a bit of a tough about this because the problem isn’t in the acronyms, the problem is in the way we use them.
When we are writing a text, a good practice on how to…
In this article, we will use Apollo federation to build a single data graph across multiple services.
Each service will have a unique schema that relates to its own domain and there will be a gateway that will be responsible for composing the distinct schemas into a federated data graph and by executing the queries against the multiple services.
In this article, we will use GraphQL subscriptions to create a ToDo list that notifies its users in real-time when something in the list changes.
We will use Apollo Server as the GraphQL server with TypeScript as the programming language, Node.js as runtime, and for the subscriptions, the built-in mechanism provided by the Apollo Server.
To start let’s have a look at the concept of subscription according to the Apollo Server documentation,
Subscriptions are GraphQL operations that watch events emitted from Apollo Server. The native Apollo Server supports GraphQL subscriptions without additional configuration. …
In this article, we will build a simple ToDo list using Apollo Server as the GraphQL server, TypeScript as the programming language, and Node.js as runtime. A simple example to show the potential of GraphQL.
For those who are not so familiar with GraphQL or are just giving their first steps into this technology, let’s understand what does it stand for.
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly…
In this article we will create a simple consumer and producer to interact with the Kafka platform, but before we start to write code and dive into exchanging messages let’s have a brief introduction to Kafka.
For this introduction, I will use as the main source of reference the Kafka official documentation to pick some of the concepts we will be using in this article if you want to get more details regarding Kafka you can go through the website intro and technical documentation. Let’s start!
Kafka is an open-source distributed streaming platform. But what does that mean concretely?
Asynchronous messaging is a mechanism that allows systems to communicate using messages and without having an immediate response. The messages are published by one system into a queue and then consumed, from the same queue, by another system later in time. The message broker is responsible for the queue and by implementing the messaging protocol.
Message brokers allow distributed applications to become more resilient so that when a request is made to our application backend, and for some reason, it fails to be attended, we can guarantee that it’s not lost forever and that we can re-process it when possible…
This article came up when I started to explore Kotlin after already had worked with TypeScript. The idea is to assemble in the same place some similarities between TypeScript and Kotlin at the basic syntax level and help those who know one of the languages to be introduced to the other.
Both TypeScript and Kotlin are open-source general-purpose programming languages and can briefly be described in the following manner,
Kotlin is a statically typed, general-purpose programming language.
📝 Much more could be said to define both languages but for the scope of this…
Working from home has become a topic that companies need to understand and something that appears to be the future way of working for a lot of businesses.
For some people working from home can be quite a pain for multiple reasons. Below are some that I ear more frequently:
I believe discipline and a clear workday agenda are the key factors for being effective while working from home. …
During the last years I have been using React to build user interfaces and Enzyme as test library, but since React introduced functional components I started to feel that Enzyme was not close enough to the functional components approach and that I needed to shorten the distance between the code and the testing library, so I decided to give React Testing Library a try.
The goals of this article are to test:
Software engineer driven by curiosity 🚀 writing about software development and tech ✏️