In a food processor or mixture combine basil leaves, garlic, lemon juice, walnuts and olive oil to make a delicious pesto. Add a little bit of salt to it.
Cook pasta according to the package instructions.
Take a pan and heat oil in it.
Once it's hot enough add chopped garlic to it. Saute for 30 seconds.
Add cherry tomatoes to it and cook till they burst out.
Mix basil pesto with the tomatoes.
Toss spaghetti in this pasta pan and coat it nicely with the sauce.
Add red pepper flakes and after adjusting the seasoning, serve garnished with fresh basil leaves.
Enjoy.