Django, GraphQL and React Native

2020-06-11 Thread ndifreke umoren
Hello everyone. I am working on a React Native mobile app with a GraphQL 
endpoint I built using Python Django. Please I need help connecting the API 
with the client. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/250b31a2-b276-4d75-a93a-b1e004491e55o%40googlegroups.com.


Re: Django, GraphQL and React Native

2020-06-11 Thread Walid Kambagha
You can use Apollo the same way you’d use with React to connect to the API.

On Thu, 11 Jun 2020 at 22:21, ndifreke umoren 
wrote:

> Hello everyone. I am working on a React Native mobile app with a GraphQL
> endpoint I built using Python Django. Please I need help connecting the API
> with the client.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/250b31a2-b276-4d75-a93a-b1e004491e55o%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGbq8nkojE2pDVA1tZF9aSS0dcVb%3DQch%2B8Q628uPoonJsfyEUQ%40mail.gmail.com.


Re: Django, GraphQL and React Native

2020-06-12 Thread ndifreke umoren
@Waled thanks for your response. That's exactly what I did but I keep 
having no data sent back. I tested my API with graphiql and it works 
perfectly but on React Native, I keep getting "Network Error: Network 
failed" error. I'd love all the help I can get solving this problem. Thanks.

On Friday, June 12, 2020 at 12:56:34 AM UTC+1, Walid Kambagha wrote:
>
> You can use Apollo the same way you’d use with React to connect to the API.
>
> On Thu, 11 Jun 2020 at 22:21, ndifreke umoren  > wrote:
>
>> Hello everyone. I am working on a React Native mobile app with a GraphQL 
>> endpoint I built using Python Django. Please I need help connecting the API 
>> with the client. 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/250b31a2-b276-4d75-a93a-b1e004491e55o%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0e4decb3-7f78-466f-96ac-8d01f474b3f7o%40googlegroups.com.


Re: Django, GraphQL and React Native

2020-06-12 Thread ADEWALE ADISA
can you show your graphene code ?

On Fri, 12 Jun 2020, 15:39 ndifreke umoren,  wrote:

> @Waled thanks for your response. That's exactly what I did but I keep
> having no data sent back. I tested my API with graphiql and it works
> perfectly but on React Native, I keep getting "Network Error: Network
> failed" error. I'd love all the help I can get solving this problem. Thanks.
>
> On Friday, June 12, 2020 at 12:56:34 AM UTC+1, Walid Kambagha wrote:
>>
>> You can use Apollo the same way you’d use with React to connect to the
>> API.
>>
>> On Thu, 11 Jun 2020 at 22:21, ndifreke umoren 
>> wrote:
>>
>>> Hello everyone. I am working on a React Native mobile app with a GraphQL
>>> endpoint I built using Python Django. Please I need help connecting the API
>>> with the client.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/250b31a2-b276-4d75-a93a-b1e004491e55o%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0e4decb3-7f78-466f-96ac-8d01f474b3f7o%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMGzuy_BB_N6ypuCwQwpGHCwT%2BCsCGK8JWroENZtd2_Wj6mycA%40mail.gmail.com.


Re: Django, GraphQL and React Native

2020-06-12 Thread Walid Kambagha
Is the error occur when using emulator or real device?

On Sat, 13 Jun 2020 at 01:43, ADEWALE ADISA  wrote:

> can you show your graphene code ?
>
> On Fri, 12 Jun 2020, 15:39 ndifreke umoren, 
> wrote:
>
>> @Waled thanks for your response. That's exactly what I did but I keep
>> having no data sent back. I tested my API with graphiql and it works
>> perfectly but on React Native, I keep getting "Network Error: Network
>> failed" error. I'd love all the help I can get solving this problem. Thanks.
>>
>> On Friday, June 12, 2020 at 12:56:34 AM UTC+1, Walid Kambagha wrote:
>>>
>>> You can use Apollo the same way you’d use with React to connect to the
>>> API.
>>>
>>> On Thu, 11 Jun 2020 at 22:21, ndifreke umoren 
>>> wrote:
>>>
 Hello everyone. I am working on a React Native mobile app with a
 GraphQL endpoint I built using Python Django. Please I need help connecting
 the API with the client.

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/250b31a2-b276-4d75-a93a-b1e004491e55o%40googlegroups.com
 
 .

>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/0e4decb3-7f78-466f-96ac-8d01f474b3f7o%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMGzuy_BB_N6ypuCwQwpGHCwT%2BCsCGK8JWroENZtd2_Wj6mycA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGbq8nkfqR3sDPBks_c-H82xiFs6oB3%2Bu_dcGdqZnx22eBECkQ%40mail.gmail.com.