Hi all, we're currently evaluating Prisma as an OR...
# orm-help
l
Hi all, we're currently evaluating Prisma as an ORM for our GraphQL APIs and I'd love to know if anyone has had any success setting up an Apollo Server DataSource for Prisma? I've taken a look at the Apollo & Prisma page on the official site (https://www.prisma.io/apollo) but was pretty disappointed that it doesn't elaborate any further than just "initialise the client and then reference it in resolvers!". There's an open issue relating to this but it seems to be inactive (https://github.com/prisma/prisma/issues/5017). Any pointers would be greatly appreciated!
n
Hi @Luke Carr, I’m not sure if it’s quite what you’re looking for but we use Prisma with Apollo Server in some of our GraphQL APIs - here’s an open-sourced example: https://github.com/Pocket/collection-api. The Readme has full setup instructions and there’s a seed script you can run to get some data in and experiment with it in the playground or with a frontend of your choice. Let me know if you have any questions!