Cut the shrimp, onion, garlic, and vegetables into bite-size pieces.
Heat cooking oil in a pan and sauté the garlic and onion.
Add the shrimp and stir-fry until cooked through.
Add rice and vegetables, and stir-fry together.
Add Nasi Goreng sauce and mix well.
Season with salt and pepper to taste.
Transfer the finished fried rice to a plate and top with a fried egg.