When photographing food, make sure you use direct lighting, which comes from the front of the food, not behind the food, in order to show the details. Lighting from behind makes the subject appear flat, which is better for photographing people. Food and items need hard light in order to display the detailed texture. Using a big window or an open garage door is perfect for doing your own home studio photo shoots because it is similar to strobe lighting.
It is also important to do a lot of research on different foods in order to be able to make it look like it is supposed to look like. For example, a fresh cup of coffee always has bubbles on top. So, it is important to make sure the cup of coffee being photographed has bubbles on top in order to make it appear fresh.