Make a tomato sauce beginning with a soffritto of chopped onion sweated in olive oil along with a bit of garlic. When the onion is translucent and soft, add some crushed canned tomatoes (or chopped fresh tomatoes in season) along with a good handful of fresh mint leaves (or basil) and, if you like, some red pepper flakes—not too many, just enough to add a hint of spiciness. Allow the tomatoes to simmer until reduced to a saucy consistency, about 10-15 minutes.
Meanwhile, parboil your green beans, trimmed and cut into sections about the same length as the pasta, in salted water until cooked just crisp-tender, and add to the tomato sauce to simmer and insaporire until the beans are quite tender.
In the same water in which the beans cooked, cook your pasta al dente and add to the green bean and tomato sauce.
Mix well, let it simmer for a minute or two for the flavors to meld and the pasta to absorb a bit of the sauce, then serve. If you like, fold in some pecorino cheese that you will have grated with the large holes of a four-sided grater, so they emerge as long strips, about the same length as the pasta and green beans.