Chop the onion and garlic
Heat olive oil in a pan and sauté the chopped onion and garlic
Add diced tomatoes and salt, then bring to a boil
Make wells in the tomato sauce and crack the eggs into them
Cover with a lid and cook on low heat until the eggs are set
Finish by sprinkling parsley and black pepper