Chapter 4. Going Public
In the previous chapter, we successfully turned our website into a functioning private application. In this chapter, we are going to update our code to make the app support multitenancy. This means that one instance of the app will be able to service multiple Shopify accounts simultaneously, instead of requiring each store to have its own copy of the app. An example of this is the difference between a site such as Facebook (multitenant) and a program such as Microsoft Word (single tenant). Everyone logs in to the same Facebook app, but each computer needs its own copy of Word. The multitenant model should be familiar to you as most websites you use operate in this manner.
To support multiple shops, we will need to acquire ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access