The problem is not bad Code.
Let's discuss the problem first, We had a VERY important section in a Dashboard that used to take Minutes... to load. I was tasked to make it faster, and just like any backend developer will do I had
backend-ozzy.hashnode.dev6 min read