Welcome to the Depression forum. Sorry to hear of your struggles. I agree with chman that you just have to force yourself to eat. It does get easier with time -- you may not ever want to eat, but with practice it gets easier to eat even when you're not hungry. Remember, you eat to live. You don't need any other reason to be eating.
A couple things that helped me when I was really struggling was to talk with a nutritionist -- we had a few appointments to discuss & plan meal options that involved the least amount of food for the most amount of nutrients & calories. She suggested nuts for snacks, putting full-fat salad dressing or dips on my food & drinking an Ensure shake once a day (I like the vanilla flavor but they come in chocolate & strawberry too; tastes pretty good).
As for getting your appetite back, your best bet is to eat. I know that sounds counterintuitive, but that's how it works. There's no guarantee it will work -- I still don't get hungry, or full for that matter. But my doc thinks that's mostly because I let it drag on for so many months. The earlier you get back to eating a healthy amount of food every day, the more likely you will get your appetite back. Otherwise, just try to find other things to enjoy about eating -- the smell, the texture, the combinations of flavors, etc. I just have to remind myself that when I skip meals my blood pressure goes dangerously low & I tend to get dizzy and faint. It's dangerous b/c the reason my body faints is to help get blood up to my brain (which is easier when you're lying flat). So I know I need 3 meals regardless of how I feel. If I really hate the idea of eating, I might make a milk shake with fruit or have some crackers. about an hour later I try to pick something that's opposite in nutrition (protein-fruit, fat-protein, fruit/bread-protein) to ensure I'm getting enough calories & enough vitamins to be healthy.
I hope that helps. I feel for you. It's rough when you don't feel like eating, but you just have to start. Also, it helps to have pre-prepared meals and snacks available so you don't have to cook at mealtime. Generally, the longer you spend cooking, the less you will eat. So I might put a lasagna in the oven for later in the week & just eat salad with some pre-cooked chicken for dinner that night (before or while the lasagna cooks). In addition, avoid drinking water 60 minutes before meal time. Water decreases appetite. Drink water during or after meals instead.
Hope that helps!