Apart from onions, garlic, chives, chocolate, macadamia nuts, corn, avocado, artificial sweetener (Xylitol), alcohol, raw egg, salty food, dairy products, cooked bones and processed food; dog can eat everything.
And also you don't need to buy dog food from the market always as you can prepare yourself as well. Do a quick internet search and you will find plenty of recipe for good dog food.