I ran a online ecommerce shop selling electronics. It ultimately failed because I couldn't scale up. You need buy with cash directly from China and order at least a container at a time. If you can't do that, then you're relegated to drop shipping or working with "wholesalers". The margins are too thin to have middle men.
Got offered a stable job after marriage and reprioritized my marriage over a failing dream of running my own business. I apply many lessons I learned from running my own business every day so it is a valuable experience. I encourage anyone to take a leap when you're young and without commitments.