Closed imzautomation closed 8 years ago
here are all the modification i have made https://gist.github.com/imzautomation/dc03dae0c10f24f148575744955cc60d
Thanks for clarifying your question. The error seems to be the var schema = require('/back/schema');
, the compiler can't find the module. I guess you might need to use a relative path instead of the absolute path, for example, var schema = require('back/schema');
@Ivarayut thanks I changed the path as suggested the server starts and when I go to graphql endpoint I don't see my django schema I see the schema from data folder , how do I connect my django graphql server to this app ? My django graphql is serving from http://localhost:8000/graphql and my schema.json is in back folder
Unfortunately, I have never used Django before, can't really help you much. You might try to test your schema with GraphiQL. If it worked, the problem would be your Django setup. If not, the problem might be your schema.json.
I'm going to close this issue for now. Please feel free to continue the discussion here if you had more question.
I got them working and wrote up notes here: https://gist.github.com/crucialfelix/2b94528bf0817dfefe1c3258977fa478
Thanks @crucialfelix for sharing this brilliant notes! Would you mind to put the notes inside our Relay Fullstack repository, would be inside docs/how-to-integrate-graphene-django.md
? It would be very useful to many people.
@crucialfelix @lvarayut exactly what i was looking for thanks alot
Yes, let me flesh it out a bit more. I figured out how to do the viewer { }
. I want to get it up and running properly, then I will submit a PR for you.
Oh wait, you don't have a docs/
Where would you like me to put it ?
Could you create it at the root directory and put the doc there?
On Sunday, October 30, 2016, Chris Sattinger notifications@github.com wrote:
Oh wait, you don't have a docs/
Where would you like me to put it ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lvarayut/relay-fullstack/issues/33#issuecomment-257144304, or mute the thread https://github.com/notifications/unsubscribe-auth/AEFWH1qIy8-pvHVqlfpHzyrEhbfH-rooks5q5He5gaJpZM4JrLH5 .
Sure if you like. Or you could use the wiki pages for extra docs. As you like
On Sun, Oct 30, 2016, 12:31 Varayut Lerdkanlayanawat < notifications@github.com> wrote:
Could you create it at the root directory and put the doc there?
On Sunday, October 30, 2016, Chris Sattinger notifications@github.com wrote:
Oh wait, you don't have a docs/
Where would you like me to put it ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/lvarayut/relay-fullstack/issues/33#issuecomment-257144304 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AEFWH1qIy8-pvHVqlfpHzyrEhbfH-rooks5q5He5gaJpZM4JrLH5
.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lvarayut/relay-fullstack/issues/33#issuecomment-257145757, or mute the thread https://github.com/notifications/unsubscribe-auth/AANWcsnMtZC0sevCkXeW7pWt6K6FyP3Bks5q5IAUgaJpZM4JrLH5 .
Thanks @crucialfelix, docs/how-to-integrate-graphene-django.md
would be fine with me.
hello i am using relay fullstack as frontend , i have developed the backend in django using graphene and i am serving a graphql endpoint from http://localhost:8000/graphiql here is my error log