Boil the spaghetti noodles.
Blend basil, olive oil, garlic, pine nuts, and Parmesan cheese in a blender to make pesto sauce.
Heat olive oil in a pan and add the cooked noodles.
Add the basil pesto sauce and stir-fry evenly.
Serve in a bowl and sprinkle with Parmesan cheese.