Extend fun to have features like Shopify?

I'm new to excitement. I am not sure if it is possible to extend the service life in order to have such functionality as Shopify. The user is registered to create a store. He owns everything in this store. Each owner cannot edit other stores.

How can I extend it? Which of the best strategies?

  • through the database firewall, each store has its own database, connects to different ones based on the domain name?

  • add store_id to every table that will have to change a lot of code, right?

Any ideas?

+5
source share

All Articles