Hi, I'm new to prisma / gql and have a question. I...
# orm-help
d
Hi, I'm new to prisma / gql and have a question. I want to try this new things in a webapp. I want to query the API for some informations, etc, handle user registrations and so on. Do I need an additional layer between prisma and the app for e.g. user registrations? Something like Rails/Laravel? Or is this possible with prisma? Thanks in advance 😊
n
Hi Dennis, Prisma is indeed not intended to be the layer that your frontend is talking to. Rather it's the layer in between your database and your API server (indeed smth like Rails/Laravel, when using Prisma you're typically using
graphql-yoga
for the API layer). I recommend you go through the "Get Started"-tutorial: https://www.prisma.io/docs/1.20/get-started/01-setting-up-prisma-new-database-JAVASCRIPT-a002/
👍 1
d
Thanks! 😊 so graphql-yoga would replace rails/laravel in this case? I'll take a look at the tutorial 😊
👍 1
n
so graphql-yoga would replace rails/laravel in this case?
Exactly!
👍 1
Please let me know if you have any questions 🙂
👍 1
d
Cool! 😎 thank you very much for your answers!
r
Are there any examples of interfacing with Prisma using a non-node app? Perhaps Rails. Just curious how that would look. Are there Ruby SDKs similar to the node client and bindings libraries?
n
Hey Ramin 🙌 Right now there are no bindings or clients for Prisma other than the ones listed on the website: JavaScript, TypeScript, Flow and Go. There is no Ruby client at the moment.
👍 1