Homemade German Chocolate Cake

Ingredients for the cake:
2 cups all-purpose flour
1 3/4 cups granulated sugar
3/4 cup unsweetened cocoa powder
1 1/2 teaspoons baking powder
1 1/2 teaspoons baking soda
1 teaspoon salt
2 large eggs
1 cup buttermilk
1/2 cup vegetable oil
2 teaspoons vanilla extract
1 cup boiling water
Ingredients for the coconut-pecan frosting:
1 cup evaporated milk
1 cup granulated sugar
3 large egg yolks
1/2 cup unsalted butter
1 teaspoon vanilla extract
1 1/3 cups sweetened shredded coconut
1 cup chopped pecans
Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
In a large mixing bowl, combine the flour, sugar, cocoa powder, baking powder, baking soda, and salt. Mix well.
Add the eggs, buttermilk, vegetable oil, and vanilla extract to the dry ingredients. Beat on medium speed for about 2 minutes until well combined.
Reduce the speed to low and slowly add the boiling water to the batter, mixing until just combined. The batter will be thin, but that’s normal.
Pour the batter evenly into the prepared cake pans.
Bake in the preheated oven for 30-35 minutes, or until a toothpick inserted into the center of the cakes comes out clean.
Remove the cakes from the oven and let them cool in the pans for 10 minutes. Then, transfer them to a wire rack to cool completely.
While the cakes are cooling, prepare the coconut-pecan frosting. In a saucepan, combine the evaporated milk, sugar, egg yolks, butter, and vanilla extract.
Cook the mixture over medium heat, stirring constantly, until it thickens and becomes golden brown. This will take about 10-12 minutes.
Remove the saucepan from the heat and stir in the shredded coconut and chopped pecans.
Let the frosting cool for about 15-20 minutes, stirring occasionally.
Once the cakes have cooled, place one cake layer on a serving plate. Spread a generous amount of the coconut-pecan frosting on top.
Place the second cake layer on top and frost the entire cake with the remaining coconut-pecan frosting.
Slice and serve your delicious Homemade German Chocolate Cake.