1. Pour a little olive oil in a large saucepan. Then add the chopped red onion, the bay leaves and the garlic and place it over medium heat.
2. Gently fry the onion for 3 minutes until a little soft. Also add the diced potato.
3. Stir and fry the potato for 3 minutes. Then pour in the vegetable stock and cook the potatoes for 5 minutes. Also add the green beans, the carrots, the broken spaghetti and the tomato paste.
4. Stir well and bring the soup to a good simmer. Cook the vegetables for 3 minutes. Then add the chopped zucchini and the frozen peas. Season with soup with a pinch of pepper and salt.
5. Cook the soup for another 2 to 3 minutes. Then green beans should still be a little crunchy, the peas thawed and tender. Stir in the basil pesto.
6. Check the seasoning. Add extra salt or pepper to taste. Divide the soup over deep plates. Serve hot.