Preheat the Oven: Preheat your oven to 350°F (175°C). Grease and flour two 8-inch round cake pans or line them with parchment paper.
Prepare the Dry Ingredients: In a medium bowl, whisk together the flour, baking soda, salt, ginger, cocoa powder, and cinnamon. Set aside.
Mix the Wet Ingredients: In a large bowl, beat the granulated sugar and vegetable oil together until well combined. Add the eggs one at a time, beating well after each addition. Stir in the vanilla extract.
Combine Carrots and Dry Ingredients: Gradually add the dry ingredients to the wet mixture, mixing just until combined. Fold in the finely shredded carrots and mini chocolate chips.
Bake the Cake: Divide the batter evenly between the prepared cake pans. Smooth the tops with a spatula. Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted into the center comes out clean.
Cool the Cakes: Allow the cakes to cool in the pans for 10 minutes before transferring them to a wire rack to cool completely.
Prepare the Frosting: In a medium bowl, beat the softened cream cheese and butter together until smooth and creamy. Gradually add the powdered sugar, cocoa powder, and vanilla extract, mixing well. Adjust the consistency with heavy cream or almond milk if needed.
Frost the Cake: Once the cakes are completely cool, spread a layer of frosting on top of one cake layer. Place the second layer on top and frost the top and sides of the cake. Garnish with mini chocolate chips if desired.
Serve and Enjoy: Slice the cake and serve. Enjoy your delicious chocolate carrot cake!