Cook the spaghetti according to package instructions until al dente. Drain and set aside.
In a large skillet, heat the olive oil over medium heat. Add the minced garlic and sauté for about 30 seconds until fragrant.
Add the cooked spaghetti to the skillet and stir to coat in the oil and garlic. Cook for about 2-3 minutes, allowing the spaghetti to get slightly crispy.
Push the spaghetti to one side of the skillet and crack the eggs into the empty space. Scramble the eggs gently and allow them to cook for about 2 minutes.
Once the eggs are mostly cooked, mix them into the spaghetti. Add the chopped vegetables and soy sauce, stirring everything together until well combined. Season with salt and pepper to taste.
Cook for an additional 2-3 minutes until everything is heated through and the vegetables are tender.
Serve hot, topped with grated Parmesan cheese and fresh parsley if desired.