Serverless for the win

You are working on your magical app and wanted the world to use it. What do you do? Well, you deploy it on a machine connected to the internet and start serving your application. This machine of yours is typically known as a server. Physical Machine When you setup your own physical machine you will … Continue reading Serverless for the win

TDD with Jest

In this video series I will take you on a journey to learn test driven development with Jest and React Testing library. I will regularly post more videos covering all the important topics in Jest like mocking, assertions etc. I hope at the end of the series you will have a fair level of expertise … Continue reading TDD with Jest

Clean coding tips for Lambda and Streams in Java

Any fool can write code that a computer can understand. Good programmers write code that humans can understand. – Martin Fowler The intent of this blog post is to make sure that we are writing code which is readable, understandable, maintainable. A readable code helps its maintainer and results in lesser issues and bugs over … Continue reading Clean coding tips for Lambda and Streams in Java

Bean Validations in Micronaut

One of the most important aspects of any application code is to ensure that we are having correct data before it can be processed or shared with any other system. This ensures that we are working with valid data and avoid any issues which can result due to data inconsistencies. Problem at hand We spend … Continue reading Bean Validations in Micronaut

Running sonarqube analysis as part of your Gradle build

Sonarqube provides a way to analyse our code and find code quality issues with static code analysis. Running Sonarqube helps a developer to write better code and so we must run sonar analysis as frequently as possible. However that is easier said than done. The reason for that is that in most organisations we have … Continue reading Running sonarqube analysis as part of your Gradle build

Practical Guide on Unit Tests and Integration Tests

In programming whenever we are building any system we should always back it with proper testing. The intention behind these tests should be to cover what ever we have written. It helps in catching regression issues when we are working on different parts of the application. These tests vary in their scope and can have … Continue reading Practical Guide on Unit Tests and Integration Tests

Garbage Collection In Java

Garbage collection is a way of collecting and discarding stale objects in JVM and releasing the memory so that it can be reused to store live objects. All Garbage collection implementations has mainly three passes MARK: Garbage collector marks the stale objects SWEEP: It then reclaims the memory allocated to the objects marked in the … Continue reading Garbage Collection In Java

Integration tests using Docker

Need for integration testing: For all our projects we generally create two types of tests Unit Tests Integration Tests Unit tests are comparatively simple as we validate a block of code which has some business logic. While doing so, we mock any external calls like external API, database read/updates, etc. This helps us to make … Continue reading Integration tests using Docker

Deploying Angular 6 Application on Kubernetes

In a previous post we have seen how we can deploy a Spring Boot application on a Kubernetes cluster. I have shared a step by step approach in that post where we start by creating a simple application, then create a docker image for the app and finally we create Kubernetes templates for deployment and … Continue reading Deploying Angular 6 Application on Kubernetes

Spring boot application on kubernetes

Introduction Kubernetes is the container orchestration tool which has gained lot of traction in the last couple of years. Kubernetes is highly scalable and can be used on bare metal, VMs and on almost all public cloud offerings In this blog post I will demo how you can deploy a simple spring boot application packaged … Continue reading Spring boot application on kubernetes