Wash basil leaves thoroughly and drain any excess water.
Boil the spaghetti and rinse it with cold water to remove moisture.
Blend basil, olive oil, pine nuts, Parmesan cheese, garlic, salt, and pepper in a mixer until smooth.
Combine cooked pasta and basil pesto in a bowl and mix well.
Serve in a dish and top with cherry tomatoes and cheese to finish.