Summary
In this chapter, we reworked our app to support multitenancy, which means that multiple Shopify stores can use it simultaneously with their data kept private from other storeowners. This involved the adding of additional fields to the Account
model and the scoping of database queries to only return results associated with the currently logged-in account. We also changed the way we gain access to the Shopify API, added verification steps to ensure that our app is secure, and removed redundant pages.
We created an easy way for people to install the app to their store as well as log in with a single click.
We're just about ready to publish the app and let people use it with their live shops. In the final chapter of the book, we'll complete the remaining steps necessary to monetize the app and create a listing in the Shopify App Store.