pesto is very simple to make. I was waiting to respond to this post because I do it all by feel and taste, so I don't really have a recipe for you. Here are the basics, but if you want exact amounts you should be able to find some on google. The obvious part is that the better quality ingredients you use, the better your pesto will be.
I usually start with some good olive oil and a clove of garlic. I Puree the garlic until smooth. This is the only ingredient that I really want to fully puree. After this point it is best to coarsely chop instead of puree. You can do this in a food processor, blender, or even better using the traditional method of a mortar and pestle.
To this oil garlic mixture you can add a decent amount of grated hard cheese (I like romano), some pine nuts cashews or wallnuts, and lots of basil.
Some people recommend toasting some of the nuts in a frying pan first.