diff --git a/examples/with-prisma/README.md b/examples/with-prisma/README.md index b446f196701..689ba0c02ff 100644 --- a/examples/with-prisma/README.md +++ b/examples/with-prisma/README.md @@ -2,10 +2,34 @@

A basic Toolpad application that demonstrates how to integrate with prisma.

-{{"component": "modules/components/DocsImage.tsx", "src": "/static/toolpad/marketing/with-prisma.png", "alt": "Toolpad example with prisma", "caption": "Toolpad example with prisma" }} + + Toolpad example app with Prisma ORM + + +## How to run + +Download the example [or clone the repo](https://github.com/mui/mui-toolpad): + + + +```bash +curl https://codeload.github.com/mui/mui-toolpad/tar.gz/master | tar -xz --strip=2 mui-toolpad-master/examples/with-prisma +cd with-prisma +``` + +Install it and run: + +```bash +npm install +npm run dev +``` + +## What's inside This app demonstrates the following capabilities of Toolpad: 1. Reusing your models in Toolpad UI +2. Using a Data Grid, Button and a text input component. +3. Using CRUD operations from [Prisma Client API](https://www.prisma.io/docs/concepts/components/prisma-client/crud) [Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/with-prisma)