A delightful spaghetti dish infused with the flavors of garlic, fresh herbs, and a rich tomato sauce.
Bring a large pot of salted water to a boil.
Adding salt to the water enhances the flavor of the pasta.
Cook the spaghetti until al dente, following the package instructions.
Stir occasionally to prevent sticking.
Heat olive oil in a skillet over medium heat.
Ensure the oil is hot but not smoking.
Sauté the chopped onion and minced garlic until fragrant and translucent.
Stir constantly to avoid burning the garlic.
Add the canned tomatoes, tomato sauce, and half of the chopped basil to the skillet. Simmer for 10 minutes.
Crush the tomatoes with the back of the spoon for a smoother sauce.
Drain the cooked spaghetti and add it to the skillet with the sauce. Toss to combine.
Add a splash of pasta water if the sauce is too thick.
Serve the spaghetti topped with grated parmesan, remaining basil, and red pepper flakes.
Serve immediately for the best flavor.