How to Write Junit 5 Test Cases for Spring REST Controller using Mockito

In the previous article, we have integrated the Razorpay payment gateway with our Spring Boot Angular application. Now, we are gonna unit test one of the REST controller using Mockito. Introduction JUnit is…

Continue ReadingHow to Write Junit 5 Test Cases for Spring REST Controller using Mockito

How to Install NGINX FastCGI Cache Purge Module Without Re-installing NGINX in Ubuntu Server

  • Post author:
  • Post category:DevOps
  • Post comments:0 Comments
  • Post last modified:June 16, 2021

Recently I have enabled NGINX FactCGI caching in our Digital Ocean Droplet in order to reduce the Time To First Byte (TTFB) of this blog. However, one drawback of this caching…

Continue ReadingHow to Install NGINX FastCGI Cache Purge Module Without Re-installing NGINX in Ubuntu Server

How to Configure Multiple Data Sources, Entity Managers, Transaction Managers in Spring Boot

Earlier, we have explored various approaches for Joining Unrelated Entities and Mapping the Result to POJO with Spring Data JPA and Hibernate. In this article, we are gonna configure multiple databases,…

Continue ReadingHow to Configure Multiple Data Sources, Entity Managers, Transaction Managers in Spring Boot

Integrate Razorpay Payment Gateway with Angular and Spring Boot Application in 14 Simple Steps

In the previous article, we have deployed our Spring Boot & Angular application on Digital Ocean Kubernetes. In this article, we are gonna integrate the Razorpay payment gateway into that application. Disclosure: Please…

Continue ReadingIntegrate Razorpay Payment Gateway with Angular and Spring Boot Application in 14 Simple Steps

Create CI/CD pipeline using GitHub Actions to Build and Deploy Angular Spring Boot App on Kubernetes in 15 mins

  • Post author:
  • Post category:DevOps
  • Post comments:0 Comments
  • Post last modified:April 27, 2021

In the previous article, we have deployed our Multi Container Docker application on Digital Ocean Kubernetes. In this article, we are gonna set up a Continous Integration and Continous Delivery pipeline using…

Continue ReadingCreate CI/CD pipeline using GitHub Actions to Build and Deploy Angular Spring Boot App on Kubernetes in 15 mins

How to Deploy Angular, Spring Boot & MySQL on DigitalOcean Kubernetes in 30 mins

In the previous article, we have configured Angular environment variables to define the frontend and backend URLs for staging and production environments. In this article, we are gonna deploy our Multi…

Continue ReadingHow to Deploy Angular, Spring Boot & MySQL on DigitalOcean Kubernetes in 30 mins