Preheat to 350°F (175°C). Line and lightly grease an 8-inch round or square pan.
Bake or steam 1 medium sweet potato until soft. Cool, peel, mash, and measure 1 cup (200g).
Whisk mashed sweet potato, eggs, maple syrup (or honey), melted coconut oil (or butter), and vanilla until smooth.
Stir in almond flour, ginger, cinnamon, nutmeg, and baking soda until batter is smooth and well combined.
Pour into the pan, smooth the top, and bake for 25–30 minutes. It’s ready when a toothpick comes out with a few moist crumbs.
Cool in pan for 10 minutes, then transfer to a wire rack. Serve warm, room temp, or chilled.