Open agustif opened 6 years ago
Sounds very cool. We used prisma for a moment at my company before we created our own graphql-to-mysql mapper. And I agree that it shouldn't be that hard.
Would you be up for a try? It would also be good for me to see what the difficulties are for contributing code.
To make things easier for you we could try this approach: copy the standalone example to a new prisma
folder, adapt the backend as a folder in the example (instead of importing ooth-mongo
and push as a pr. I can then make a package out of the prisma integration, which you then can integrate as a pacakge.
For easier communication join the slack channel.
Movement on this?
Someone needs to take on the challenge :)
Hello, I am working on proof of concept at the moment. I use express server with Prisma as Backend and react as frontend. I use passport for social login. Feel free to look at it and ask if you have some question. Hope I can help you with some difficulties. https://github.com/Jan-Kuta/cuteCV Honza
@Jan-Kuta - I don't see any ooth dependencies at all as yet, so I'm not sure how your POC is related.
Hey folks, I've been working on this recently,I've put quite a few hours into it. Is anyone up for taking my almost there WIP and running with it? I just don't have the time to finish it right now.
Hey @daveybrown could you open a pr? would be great to be able to look at the diff directly.
and easier go provide feedback.
Sure, I just created it with an explanation of where it's up to. Any feedback is welcome, cheers.
The branch is here... Prisma integration branch, and I've added a todo list as suggested.
Would love to make a prisma-backend integrator to be able to use ooth/staart for my own project.
I saw #47 about Postgres.
It should be pretty easy with the use of prisma-bindings forwardTo('db');
It also should be easy to integrate on backend development examples, as both use docker to build the backend.
It also could be integrable using the generated mongodb to start from, but it should be easy to integrate with an existing project, without regards of the db.
I think being flexible about this, and not tidying up ooth to mongo could be helpful to make it more useful to a broader audience.
I also think we could leverage GraphQL-Shield for role-based/permissions/authorization