Let’s imagine that you have a SaaS product with same base layout/components and backend structure for all clients, but each customer will have different colors, images, logos, styling and of course, data sources.
In this case, instead of setting up many different web applications, you can have a base application (we will use gatsby theme) which will have all common components, api calls, business logic but with different data sources (different api sources, different contentful spaces and different styling (colors, typography, etc).
The solution should also be flexible to allow us to add features/components to each web application separately.
This can save a lot of time and resource, because we can set up most part of the code base, logic using a shared gatsby theme which will be used for all websites
In this sample, we will use monorepository structure to achieve that.
It;s under development and will be released on the next days. All the code will be available at this git repository when it’s done. :)