Preheat the oven to 375°F. Spray a 9x13 inch casserole dish with nonstick cooking spray and set aside.
Bring a gallon of water and 1 tablespoon of salt to a boil then add the fresh green beans and cook for 2-3 minutes. Transfer them to stop the cooking process. Drain from the cold water, pat dry, and add to the casserole dish.
2 lbs fresh green beans
Melt the 1 Tablespoon of vegan butter in a medium skillet over medium heat. Add the sliced onion and cook until translucent, 2-3 minutes. Transfer the onion to a medium bowl.
1 large yellow onion, 4 tablespoons vegan butter
Add the almond flour and salt to the same pan and reduce heat to medium-low. Stir constantly for 3-5 minutes to toast the almond flour. It should start to turn a golden-brown color. Be careful not to burn it. Add the toasted almond flour to the bowl with the onions and toss to coat.
2/3 cup almond flour, 1/4 teaspoon sea salt
Melt the remaining 3 Tablespoons of vegan butter in the same pan over medium heat. Add the mushrooms and cook for 2-3 minutes to soften. Add the garlic and cook for another 1-2 minutes, until fragrant.
4 tablespoons vegan butter, 8 ounces white button mushrooms, 4 cloves garlic
Sprinkle the flour on top of the mushrooms and stir. The flour will coat the mushroom mixture and they should become thick and somewhat clumpy.
1/3 cup 1:1 gluten-free flour
Stir constantly while you pour in the broth and dairy-free milk. Bring the mixture to a simmer and continue to stir as it thickens. Add a splash of milk at a time to thin out the mixture as needed. Season with salt and pepper to taste.
1/2 cup vegetable stock, 1 1/2 cups unsweetened plant milk, Salt and pepper to taste
Pour the mushrooms sauce over the green beans and stir well to coat them evenly. Top evenly with the crispy onions.
Bake uncovered for 30-35 minutes or until the top is golden brown and heated all the way through.