Skip to content

Commit

Permalink
Update Solara
Browse files Browse the repository at this point in the history
  • Loading branch information
ideyaa committed Sep 21, 2024
1 parent 0d75465 commit e0f25ba
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,59 @@ everything from a single location.
</p>
<br>

As illustrated in the previous diagram, Solara utilizes a single codebase that allows you to create an infinite number of apps
simply by adding a new brand for each one. In the context of Solara, a brand consists of a set of **Configurations** and **Resources**
tailored for a specific app, as detailed in [What is The Brand?](#what-is-the-brand) below. Solara streamlines the management of these brands,
automatically preparing the codebase to support them without requiring any manual intervention.

## The Motivation to Use Solara

Imagine you've developed an e-commerce app and need to sell it to countless customers. To achieve this, your **e-commerce** codebase must be dynamic enough to accommodate essential changes, such as the app name, identifier, icon, theme, version, base URL, and custom configurations—like whether to enable or disable specific features—and more. This is
illustrated in the diagram below:

```
+----------------------------------------------------------------+
| E-commerce Codebase |
+----------------------------------------------------------------+
| | |
v v v
+-----------------+ +-----------------+ +----------------+
| App 1 | | App 2 | | App... |
+-----------------+ +-----------------+ +----------------+
| | |
v v v
+-----------------+ +-----------------+ +----------------+
| Customer 1 | | Customer 2 | | Customer... |
+-----------------+ +-----------------+ +----------------+
```

Solara addresses this challenge by introducing a centralized brand management system, enabling you to generate an infinite number of apps efficiently, as illustrated below:

```
+----------------------------------------------------------------+
| Solara |
+----------------------------------------------------------------+
| | |
v v v
+-----------------+ +-----------------+ +----------------+
| Brand 1 | | Brand 2 | | Brand... |
+-----------------+ +-----------------+ +----------------+
| | |
v v v
+----------------------------------------------------------------+
| E-commerce Codebase |
+----------------------------------------------------------------+
| | |
v v v
+-----------------+ +-----------------+ +----------------+
| App 1 | | App 2 | | App... |
+-----------------+ +-----------------+ +----------------+
```

This centralized approach not only simplifies brand management but also enhances the flexibility of your codebase, allowing you to serve a diverse customer base with ease.

The same applies if you need to publish countless apps to your personal store account, simply by changing the content and theme of each app.

---

## Why Solara?
Expand Down

0 comments on commit e0f25ba

Please sign in to comment.