Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect to Prisma or any GraphQL endpoint? #18

Open
sedubois opened this issue Mar 3, 2018 · 2 comments
Open

How to connect to Prisma or any GraphQL endpoint? #18

sedubois opened this issue Mar 3, 2018 · 2 comments

Comments

@sedubois
Copy link

sedubois commented Mar 3, 2018

HI, thanks @sarkistlt for this project which looks really cool! I mean, to my knowledge there isn't any CMS out there which allows to manage one's own GraphQL endpoint, is there? The commercial CMSes I've looked at, such as Contentful, all require the database and API to be hosted by them. I think this is a huge feature, allowing developers to remain owners of their own API while offering capabilities to manage its content more seamlessly.

On the other hand, your project comes as top result in Google but its development seems to have slowed; is there something else which you would recommend using instead?

Anyway I'm a newbie and have just set up a demo Graphcool Prisma endpoint (using the beta Prisma Cloud) and now I'd like to manage that endpoint with this project. However, I don't see how to make this library connect to a remote GraphQL endpoint for which I would have the schema definition in the form of a .graphql file for instance (or even why not through an introspection query, or some other fancy auto-discovery mechanisms I might not be aware of).

The only thing I see is the example/src/schema folder which is Javascript code, not a GraphQL schema definition or IDL file which could be auto-generated from Prisma.

Would you have any advice to achieve this?

@sarkistlt
Copy link
Owner

Hi, I'm sorry for the late reply, to much work.
This project was developed as an quick solution to run UI to manage your graphQL entities, so it's mostly for development purposes and really save time.
in your case I would suggest to check this project https://github.com/marmelab/admin-on-rest
it's pretty cool

@sedubois
Copy link
Author

sedubois commented Mar 6, 2018

Thanks @sarkistlt, yes indeed saw that one too. But didn’t see how to connect to own endpoint, I’ve opened this (yet unanswered) question:
marmelab/aor-graphql#66

If you have any insight into that, would be glad to know more :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants