FOR THE MARINARA
Heat the oil in a large sauté pan on medium heat. When the oil is hot, add the onion and sauté until soft and translucent, approximately 5 minutes. Add the garlic and cook for one minute. Add the tomato, wine, Italian seasoning, pepper flakes and salt and pepper and stir well to combine. Bring to a boil then reduce the heat to simmer and cook for 30 minutes. Stirring occasionally. Add the basil and parsley when you add the bean balls and simmer for 15 more minutes.
FOR THE BEAN BALLS
Drain (reserve the juice) and rinse the beans and put them in the food processor.
Heat 1 teaspoon of oil in a large skillet on medium heat. When the oil is hot, add the mushroom slices and cook until browned and soft, approximately 10 minutes. Flip occasionally. When the mushrooms are soft, add the shallots and cook until they begin to soften and brown, approximately 7 minutes. Add the garlic and cook for one minute. Transfer the mushrooms, shallots, and garlic to the food processor with the beans. Add the reserved juice, parsley, Italian seasoning, breadcrumbs, cornmeal, tapioca starch, salt, and pepper to the food processor and process until it begins to turn into a ball. It should be smooth and sticky.
Carefully remove the blade from the food processor and scoop out ¼ cup (54 g) of batter and form into a ball. Repeat until you’ve used all of the bean batter (10-12 balls).
Heat the tbsp. (15 ml) of oil in a large skillet on medium-high heat. Spread the oil evenly throughout the pan. When the oil is hot, add the bean balls and cook until the side facing down in the pan is browned. Turn and brown each side. This will take approximately 5 minutes per side. When the bean balls are browned on each side add them to the marinara (with the basil and parsley from the marinara ingredients) and roll them in the sauce to coat. Simmer for 15 minutes.
For the Spaghetti
Bring a large pot of water to a boil. When the water is boiling add the salt and cook the spaghetti according to the instructions. Drain and top with the marinara and bean balls.