id | title | sidebar_position |
---|---|---|
swiftwave_app_store |
🏪 Swiftwave App Store |
2 |
import React, { useEffect, useState } from 'react'; import BrowserOnly from '@docusaurus/BrowserOnly';
From Swiftwave App Store, you can install any app in few clicks.
{() => { const [availableApps, setAvailableApps] = useState([]); const fetchAvailableApps = async () => {
try {
const response = await fetch('https://raw.githubusercontent.com/swiftwave-org/app-store/main/store.json');
const data = await response.json();
setAvailableApps(data);
} catch (error) {
console.log(error);
}
}
useEffect(() => {
fetchAvailableApps();
}, []);
return (
<table>
<thead>
<tr>
<th>Logo</th>
<th>App Name</th>
<th>Description</th>
<th>Category</th>
</tr>
</thead>
<tbody>
{availableApps.map((app) => (
<tr key={app.title}>
<td>
<img src={app.logo} alt={app.title} style={{
height: '30px',
width: '30px',
}}/>
</td>
<td>{app.title}</td>
<td>{app.description}</td>
<td style={{
textAlign: 'center'
}}>{app.category}</td>
</tr>
))}
</tbody>
</table>
)
}}
-
For instance, we are installing NextCloud. So tap on that.
-
You will see the variants available for installation.
-
For now, we want to install with a postgres database. So tap on that.
-
Then you will find the app installation wizard.
-
Click on the
Install Now
button at the bottom. -
You will be asked to fill up the required details.
-
Provide application name and other details.
:::tip
If you want to ignore configuring any ingress rule, you can do that by tapping on the red cross ❌ icon.
:::
-
Click on the
Install Now
button to start the installation. -
On confirmation, you will get a success message with all the info.
-
You can click on the
View
button to see the deployment status. -
Or, back to dashboard, you will see a group of apps with their status.
-
Let's open the app details of NextCloud.
-
Let's go to the url of the app and see the app in action.
-
Yup it's working!