-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Add link to live demo to KPI example (#2341)
Signed-off-by: Bharat Kashyap <[email protected]> Co-authored-by: Bharat Kashyap <[email protected]> Co-authored-by: Olivier Tassinari <[email protected]>
- Loading branch information
1 parent
1d85ac3
commit 9446581
Showing
23 changed files
with
119 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/pages/toolpad/examples/admin-app.js → .../pages/toolpad/examples/basic-crud-app.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Basic CRUD application | ||
|
||
<p class="description">An admin application to showcase how CRUD operations work in Toolpad.</p> | ||
|
||
<a href="https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/basic-crud-app" target="_blank"> | ||
<img src="https://mui.com/static/toolpad/docs/examples/basic-crud-app.png" alt="Basic CRUD app" style="aspect-ratio: 1.8" width="100%"> | ||
</a> | ||
|
||
## Check out the live app | ||
|
||
<p></p> | ||
|
||
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/basic-crud-app) | ||
|
||
## How to run | ||
|
||
Download the example [or clone the repo](https://github.com/mui/mui-toolpad): | ||
|
||
<!-- #default-branch-switch --> | ||
|
||
```bash | ||
curl https://codeload.github.com/mui/mui-toolpad/tar.gz/master | tar -xz --strip=2 mui-toolpad-master/examples/basic-crud-app | ||
cd basic-crud-app | ||
``` | ||
|
||
Install it and run: | ||
|
||
```bash | ||
npm install | ||
npm run dev | ||
``` | ||
|
||
## What's inside | ||
|
||
This app demonstrates the following capabilities of Toolpad: | ||
|
||
1. How to use backend functions. | ||
2. Using a Form and other components. | ||
3. How to delete or add a row in a data grid. | ||
4. How to bind query parameters with a component. | ||
|
||
## The source | ||
|
||
[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/basic-crud-app) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,48 @@ | ||
# KPI tracker | ||
# npm stats | ||
|
||
<p class="description">This Analytics dashboard shows how to track a KPI from a third party data source.</p> | ||
<p class="description">This analytics dashboard shows how to track a KPI from a third-party data source.</p> | ||
|
||
{{"component": "modules/components/DocsImage.tsx", "src": "/static/toolpad/marketing/npm-stats.png", "alt": "Analytics dashboard", "caption": "Analytics dashboard showing download stats of Toolpad NPM package"}} | ||
<a href="https://npm-stats.onrender.com/prod/pages/evZC-gp" target="_blank"> | ||
<img src="https://mui.com/static/toolpad/docs/examples/npm-stats.png" alt="npm stats app" style="aspect-ratio: 1.8" width="100%"> | ||
</a> | ||
|
||
## Check out the live app | ||
|
||
<p></p> | ||
|
||
[![Render Badge]](https://npm-stats.onrender.com/prod/pages/evZC-gp) | ||
|
||
[Render Badge]: https://img.shields.io/badge/Render-purple?style=for-the-badge&color=%234350e9&link=https%3A%2F%2Fnpm-stats.onrender.com%2Fprod%2Fpages%2FevZC-gp | ||
|
||
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/npm-stats) | ||
|
||
This app demonstrates following capabilities of Toolpad: | ||
## How to run | ||
|
||
Download the example [or clone the repo](https://github.com/mui/mui-toolpad): | ||
|
||
<!-- #default-branch-switch --> | ||
|
||
```bash | ||
curl https://codeload.github.com/mui/mui-toolpad/tar.gz/master | tar -xz --strip=2 mui-toolpad-master/examples/npm-stats | ||
cd npm-stats | ||
``` | ||
|
||
Install it and run: | ||
|
||
```bash | ||
npm install | ||
npm run dev | ||
``` | ||
|
||
## What's inside | ||
|
||
This app demonstrates the following capabilities of Toolpad: | ||
|
||
1. How to use a thrid party REST API to fetch data to a Toolpad app. | ||
2. How to use custom components like charts. | ||
3. How to use pre built MUI components like Date Picker. | ||
3. How to use pre-built MUI components like Date Picker. | ||
4. How to transform data. | ||
|
||
## The source | ||
|
||
[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/npm-stats) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters