Lexicon Version 1: How do I deploy the GraphQL API? #30
-
Describe the bugI have followed every step mentioned in the lexicon doc. I am stuck at creating a build process from more than a month. I tried using the expo build: android command mentioned in docs but I would like to know, if my development machine is on then only it will fetch me things from server otherwise it won't work. REQUIRED: Include the contents of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello. It seems there might be a misunderstanding about how Lexicon works. You wrote:
You also filled out this part:
This is a hint to what's going wrong, since you specifically wrote that you didn't host the Prose GraphQL server ( I would recommend reading the documentation in a bit more detail to ensure you better understand the process. This link illustrates that the mobile app must be able to connect your deploy Prose server in order for it to work. This Github comment also goes into this a bit:
To expand on that, if you turn off your development machine, and Prose is only running on your development machine, then it's expected that the app wouldn't work because it doesn't have anything to connect to. Additionally, if the app was published, no one else who downloaded the app would be able to use it, because they won't be connected to the same network that your development machine is on. You need to deploy Prose somewhere publicly accessible if you want it to work without your development machine. This link goes over the process of doing so.
And this link goes into the specifics of it. |
Beta Was this translation helpful? Give feedback.
Hello.
It seems there might be a misunderstanding about how Lexicon works.
You wrote:
You also filled out this part:
This is a hint to what's going wrong, since you specifically wrote that you didn't host the Prose GraphQL server (
api/
) anywhere. You have to deploy the Prose GraphQL server somewhere if you want it to work when your development machine is off.I woul…