What are the best conditions for growing vegetables?
Where do vegetables grow the best?
3 - 4 hours of sun. This is the minimum! ... 

5 - 6 hours of sun. Think about root crops like carrots, radishes, beets, onions and potatoes, in addition to the leafy crops.
7 - 8 hours of sun. You can grow fruiting crops like tomatoes, peppers, squash, cucumbers, and beans.