This section demonstrates how a multi-tenant web application works. The aim of this workshop is not to build a fully functional multi-tenant app. This workshop rather aims to provide you the knowledge of how multi-tenancy works at the application and database level.
In the example marketplace app, you can set up each shop as a separate frontend app with its dedicated child database.
In the example marketplace app, you can set up each shop as a separate front-end app with its dedicated child database. However, we will not deploy individual front-end apps for each shop in this workshop. Instead, let’s assume each shop page (i.e. /shops/:
In your parent database, head over to the Security > Roles > FrontEndRole and provide read access to
Store collection and
Next, build your frontend with either one of the following frameworks.