Hi, I'm a newbie and haven't been through all of P...
# prisma-whats-new
r
Hi, I'm a newbie and haven't been through all of Prisma docs yet. But just wanted to ask if Prisma is compatible with plain vanilla Apollo GraphQL server, i.e., can I use Prisma with plain vanilla Apollo GraphQL server at all, as highlighted in https://www.apollographql.com/docs/apollo-server/example.html
d
Prisma is using
graphql-yoga
underneath which is build on top of express and apollo-server 🙂
n
yes, Prisma is compatible with any GraphQL server.
@Daniel K., Prisma is not using GraphQL Yoga server underneath. GraphQL Yoga makes it easy to bootstrap a GraphQL server, and to connect to a GraphQL API using GraphQL bindings.
d
@nilan semantics 😄 I think that most people see Prisma as a whole package with application server (it's included in a basic template, right?)
n
Currently, I see a lot of questions about the Prisma architecture, and what you described is a common misconception. Prisma is not the GraphQL Server, those are two components. I have found this diagram to be very helpful to understand the difference:

https://www.prismagraphql.com/static/media/frontend.daca5afa.pngâ–¾

d
I do understand how it works ... but if you are crazy enough, you can use CRUD layer alone in your client app, so I wouldn't say that Prisma is not a server from this point of view
but of course in that case there is no graphql-yoga, you are right about that part 😉
r
Thanks guys. Yep, took me some reading to figure out graphql-yoga is actually sitting on top of Apollo GraphQL server