OAuth The protocol OAuth stands for Open Authorization, it’s a protocol that uses token instead of password to securely exchange information on the internet. When you log in to a website using your Google, Facebook, Microsoft or Apple account, y...
Today let’s set up the kotlin-reflect dependency and look at some jvm Java/Kotlin reflection. You might set up a small project for that, or have a look to the examples. Make sure your gradle is set up with the right dependency: dependencies { ...
In this article, we’ll dive in some more advanced concepts for query types and resolvers. If you are still new, or would like to review the basics, check out the Apollo 🚀 and GraphQL article. Query Resolvers The resolvers are at the root of the...
Speaking about Event sourcing is speaking about an architecture pattern: the Event-driven architecture. It has become a more common as solution with specialised db like EventStoreDB, Kafka and other new tools that makes it easier to apply at scale...
Let’s say you are doing some refactoring. You have a big class that is doing too many things, and you want to carve a piece out into its own class doing its own thing. Following the responsibility pattern. A class should be defined around its ...
Deploying a package on the GitHub Package Repository (GPR) have already been covered. Now let’s have a deeper look at how to use that published package in your project. This time I’ll use the Kotlin package randomK which is a package that takes...
Avro Apache Avro is an open source data serialization system. You can also find documentation on confluent which may be more user-friendly. Avro is a schema format created and used with Kafka. Maps to JSON (works with many programming langu...
For this article I created an example gem sylhare/Vermelinho, obviously based on the Make your own gem from the ruby gem guide. Let’s check the set up, tests, and how to deploy the gem Create Gem You don’t need much to create a gem, only create...
Postman 📬 is a tool to easily send Rest, SOAP and GraphQL queries. It is one of the popular tool in its category among some alternative like Insomnia or paw (for Mac). Postman is using and sharing open source libraries, you can also contribute to...
Let’s talk about GraphQL which is a query language for an API. Meaning that contrary to normal REST APIS, with GraphQL APIs you can discover and query only the data you need form a single call. To implement a GraphQL API, let’s use Apollo server ...