panter / ra-data-prisma

Packages to connect react-admin with prisma version 2
MIT License
85 stars 28 forks source link
prisma react-admin

ra-data-prisma

Packages to connect react-admin 🧩 with prisma version 2 🌈

Usage

you need to add the dataprovider to your react-admin app. Your backend needs additional resolver for all the resoures you gonna need. backend package will help you with making your backend compatible with the dataprovider!

See the readmes above for further information.

Develop

call yarn install to set it up.

yarn test to run unit tests.

Some tests use an actual introspection result from a nexus-prisma backend. If you want to extend the underlying model do:

Prior work

loosly based on https://github.com/Weakky/ra-data-opencrud, thanks @Weakky