Reactive Spring Web API with Couchbase

reactive spring web api

Reactive programming is the new hype, and Java has jumped on the train since Java 9. In this article, we are going to take a look at how we can write a reactive spring web application with Couchbase. We will make a basic reactive spring web API using Mono and Flux, and for the database, we will use the NoSQL database Couchbase which provides a reactive API.

Continue Reading

Useful Git Tips and Commands

git tips

Git is an extremely powerful tool with a big and rich set of tools to help you maintain your projects. In this article, we are going to look at a couple of useful git tips and commands that I find useful in my daily life. Hopefully, you will learn some new useful features to add to your toolbox while working with git.

Continue Reading

Spring Retry – Robust your Application

Spring Retry

When working with external APIs or databases, especially cloud databases, a lot of things can go wrong. This is where it is important to consider having retries. Spring Retry can handle this for you in an easy and convenient way. In this article, we are going to look at how Spring Retry can robust your application.

Continue Reading

Sed Append – Appending to Input

sed append

I had the need to add a port number to a list of IP addresses and I couldn’t find anything that I could copy & paste from my google searches so I decided to implement it myself and share it for others who in the future might need to do something similar. In this article, I will display sed append with that example.

Continue Reading

Swagger API Documentation

Swagger API documentation

Writing documentation is a necessity which is extremely dull and boring. But luckily there is a tool available referred to as Swagger API Documentation. Documentation with Swagger has never been easier. All you have to do is to add the dependency to your Spring Boot project and Swagger will take care of it for you.

Continue Reading

Golang Twitter Bot

golang twitter bot

I’ve heard loads of positive things about Googles programming language Golang, and curious as I am I decided to explore it. When I’m learning new things I like to get started using it instantly hands-on. I am a frequent user of Twitter and thought what if I can increase my followers with a Golang Twitter Bot?

Continue Reading

Immutability with Lombok builder pattern

Lombok builder gives minimalistic code

Lombok is a tool that makes it possible to write classes in Java the way it is supposed to. It reduces a lot of the boilerplate code required that many modern languages already have built-in support for, such as Golang and Kotlin. Lombok supports the traditional OOP class structure with getters and setters, but my favorite part is the Lombok Builder which enables us to write immutable classes with almost no code required at all. In this article, we are going to explore that and hopefully, you will be convinced and start using it yourself.

Continue Reading