Hi guys, new to prisma - so sorry if this question...
# orm-help
s
Hi guys, new to prisma - so sorry if this question sounds stupid. So Prisma takes the model of your database and turns it into a graphql server right? But you don't want to expose all the methods and you maybe have some custom stuff so you install
graphql-yoga
right? I know how to do this all locally but I don't know where and how to deploy it?
w
first part is correct, second not so much. think of it like this. * Prisma === MySQL that understands GraphQL, so it is your DATABASE, same as you would use any other ORM just this one runs as a server and it's more complicated. *
graphql-yoga
is a express app able to talk graphql, it's a server.
which you use to build (micro) services. This is your API, you would use this as any other REST api .
hope this helps, it's a lot of info and terminology to take in when you start. you'll get there 😉
s
I finished the tutorial with prisma and all and been using a local docker environment. Would you know where and how how to deploy it?
it's been bugging for days already
(I literally have no experience with docker)
and if graphql yoga is just your database - how will you connect it to your prisma server?
nevermind i found greater clarity here

https://www.youtube.com/watch?v=CORQo5rooX8

👍 1