Welcome! 👋

Welcome to Codaholic, a thriving tech community dedicated to fueling your passion for technology. You get to connect with like-minded professionals, exchange knowledge, and stay up-to-date with the latest trends and innovations. Join us on this exciting journey of continuous learning and collaboration.

How to Delete Git Commit History

Introduction In Git , you can remove or change the past changes in your repository by deleting the commit history. This might be useful if you want to get rid of private info, eliminate unimportant commits, or start a fresh project without showing what happened before. Remember that changing the past can make it harder for others to understand how things got here and work together on the project. There are different ways to do this, like using git reset, git rebase, or git filter-branch....

August 30, 2023 · 5 min · Emmy Steven

How to Handle Trailing Slashes in Spring Boot

Introduction Two types of slashes exist, the backward slash and the forward slash. A good way to differentiate the two is that a backward slash leans backward(), while a forward slash leans forward(/) The slash we want to handle in Spring Boot is the forward slash. We want to handle trailing forward slash at the end of an API endpoint. The problem When you send a request to this API endpoint api/users/add it will return a state code of 200, but when you send a request to this API endpoint api/users/add/ it will return a status code of 404....

August 20, 2023 · 5 min · Emmy Steven

Java Docker Best Practices

We all want to avoid the it was working perfectly well on my system scenario. Hence, there is a need to dockerise our Java web application. This tutorial gives us the best practices to consider when containerising our Java applications. Below are the best practices to keep in mind when containerising or dockerising Java web applications: Specify Explicit and Predictable Docker Base Image Tags Install Only What You Need in Production in the Java Container Image Find and Fix Security Vulnerabilities in Your Java Docker Image Use Multi-Stage Builds Don’t Run Java Apps as Root Properly Handle Events to Safely Terminate a Java Application Gracefully Tear Down Java Applications Use ....

August 15, 2023 · 6 min · Emmy Steven

How To Make Maven Faster

What is Maven Maven, often dubbed as the “swiss army knife” of Java development, is a robust and highly popular build automation and project management tool. It plays a pivotal role in simplifying the often intricate and multifaceted process of building, managing, and delivering Java-based software projects. Maven is renowned for its ability to bring order and efficiency to the entire software development lifecycle, from project initialization to build automation, testing, reporting, and the seamless management of project dependencies....

August 10, 2023 · 8 min · Emmy Steven

How To Dockerize Spring Boot

Introduction In today’s fast-paced development landscape, deploying applications efficiently and ensuring scalability are paramount. Dockerizing Spring Boot applications has emerged as a popular solution to address these challenges. This blog post will explore the benefits of dockerizing Spring Boot apps and provide a step-by-step guide to containerize your projects. What is Docker? Docker is an open-source platform that allows you to develop, ship, and run applications inside containers. Containers are lightweight, isolated environments that package all the dependencies needed to run an application, making it consistent across various environments....

August 5, 2023 · 9 min · Emmy Steven